| View previous topic :: View next topic |
| Author |
Message |
SnarlingSheep Professional Member


Joined: 13 Mar 2001 Posts: 759 Location: Michigan
|
Posted: Sun Apr 14, 2002 5:26 am Post subject: |
|
|
I realize that Mac
My example above generates a click event without using the CLICK style, when I click on the dialog. _________________ -Sheep
My pockets hurt... |
|
| Back to top |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Sun Apr 14, 2002 5:28 am Post subject: |
|
|
OK Sheep, you're right. It doesn't need the CLICK
style, but releasing the button does generate a
CLICK event, so the CLICK label is necesary...
I removed the CLICK style.
Cheers, Mac  _________________ VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
 |
|
| Back to top |
|
 |
SnarlingSheep Professional Member


Joined: 13 Mar 2001 Posts: 759 Location: Michigan
|
Posted: Sun Apr 14, 2002 5:31 am Post subject: |
|
|
Oh!, I get it..I guess that's easier than my code. Mine waits for the user to click off from the element that's attached. _________________ -Sheep
My pockets hurt... |
|
| Back to top |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Sun Apr 14, 2002 5:36 am Post subject: |
|
|
I guess the DESIGN style also includes the CLICK style?
Seems to anyway. Clicking on the window is what generates
the CLICK event, and it doesn't without the DESIGN style
(unless you have the CLICK style).
Cheers, Mac  _________________ VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
 |
|
| Back to top |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Sun Apr 14, 2002 5:46 am Post subject: |
|
|
Sheep, your example works in VDS 3.5 except I
can't drag the button after I create it. Can you
drag it in VDS 4? I get a "Label not found" error.
Cheers, Mac  _________________ VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
 |
|
| Back to top |
|
 |
SnarlingSheep Professional Member


Joined: 13 Mar 2001 Posts: 759 Location: Michigan
|
Posted: Sun Apr 14, 2002 5:58 am Post subject: |
|
|
Forgot to check for the Change event. Updated the code so it checks now.
Was there a change event in VDS 3.5? _________________ -Sheep
My pockets hurt... |
|
| Back to top |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Sun Apr 14, 2002 6:09 am Post subject: |
|
|
Yep. There's a B1CHANGE label in my example...  |
|
| Back to top |
|
 |
SnarlingSheep Professional Member


Joined: 13 Mar 2001 Posts: 759 Location: Michigan
|
Posted: Sun Apr 14, 2002 6:12 am Post subject: |
|
|
LoL, why yes there is..I knew I saw that somewhere.
Sheep sleep now..  _________________ -Sheep
My pockets hurt... |
|
| Back to top |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Sun Apr 14, 2002 6:21 am Post subject: |
|
|
BTW Sheep, your example works fine in VDS 3 now.  |
|
| Back to top |
|
 |
|