Differences

This shows you the differences between the selected revision and the current
version of the page.


wmebook:ch12_1 2007/12/21 12:48 wmebook:ch12_1 2008/01/10 14:25 current
Line 44: Line 44:
  * **Disabled** - means that the control is disabled so even if this window contains controls, they can't be clicked.   * **Disabled** - means that the control is disabled so even if this window contains controls, they can't be clicked.
  * **Visible** - means that the control is visible or invisible. It's sometimes good idea to have windows loaded in memory and only set their visibility to true or false when needed. For example if you have special decoration window for talking, it's a necessity as opposed to loading / destroying it all the time.   * **Visible** - means that the control is visible or invisible. It's sometimes good idea to have windows loaded in memory and only set their visibility to true or false when needed. For example if you have special decoration window for talking, it's a necessity as opposed to loading / destroying it all the time.
 +
 +Okay. Time for spicing out our little window a little bit:
 +{{wmebook:ch12_2_1.jpg|}}
 +Click on the Add Button icon in the section 4 and then click-drag the button on the window to adjust its size. You should get the following result:
 +{{wmebook:ch12_1_2.jpg|}}
 +
 +If we have this newly created button hilighted, our property grid changed and we can easily see, that we can set some extra parameters to it (I'm mentioning only those which weren't already mentioned above):
 +
 +**Pressed** - means that the button's default state is pressed down.
 +**CenterImage** - means that you can assign the image to the button and then center it in the buttons region.
 +**PixelPerfect** - is the same as with the sprite. If it's true, the mouseclick is accepted only on the active parts of the image (non transparent).
 +**Focusable** - means that it's possible to set focus to the button.
 +
 +**WORK IN PROGRESS...**
 +
 
wmebook/ch12_1.1198237738.txt.gz · Last modified: 2007/12/21 12:48 by metamorphium
Recent changes RSS feed Creative Commons License Driven by DokuWiki