پشتیبانی

draw button
loading...

free grads

draw button draw button number xpos ypos width height string Draws a button centered on xpos,ypos with the following attributes:   number   button number,

draw button

admin بازدید : 704 پنجشنبه 11 دی 1393 نظرات (0)

draw button

draw button number xpos ypos width height string

Draws a button centered on xpos,ypos with the following attributes:  

    number   button number, 1 - 512
    xpos     x center of the button in page coordinates (inches)
    ypos     y center of the button in page coordinates (inches)
    width    width (x) of the button (inches)
    height   height (y) of the button (inches)
    string   text to display centered in the button


Usage Notes

  1. Button colors are specified with the set button command.


  2. A button's initial state is ON. If a user clicks on a button following a q pos command, then the button state will switch from ON (1) to OFF (0). A second q pos followed by a mouse click on the button will return it to the ON state.


  3. The button "state" (i.e. ON/OFF) may also be set with the redraw button command.


  4. See the section of the User's Guide on widgets for more information on using buttons.


Example


set rgb 90 100 100 100
set rgb 91 50 50 50
set button 2 90 91 92 3 90 91 92 10
set rgb 92 200 200 200
draw button 1 2.5 8.0 2.5 0.5 Click Here
ارسال نظر برای این مطلب

کد امنیتی رفرش
اطلاعات کاربری
  • فراموشی رمز عبور؟
  • آمار سایت
  • کل مطالب : 160
  • کل نظرات : 0
  • افراد آنلاین : 2
  • تعداد اعضا : 4
  • آی پی امروز : 34
  • آی پی دیروز : 64
  • بازدید امروز : 100
  • باردید دیروز : 115
  • گوگل امروز : 0
  • گوگل دیروز : 0
  • بازدید هفته : 100
  • بازدید ماه : 2,986
  • بازدید سال : 21,167
  • بازدید کلی : 257,777
  • کدهای اختصاصی