Hello,

when disabling and then enabling a command button the screen does not 
refresh to show the enabled caption of the button on my PPC. Can 
someone confirm this with other devices ? Any way to refresh the 
button ? 

To try this please create a new NSB standard project, put a new long 
command button with a long caption, i.e. "this is a button with a 
long caption" in the middle of the form, then use the following code :

Sub CommandButton1_Click
   CommandButton1.Enabled = false
   MsbBox "A"
   CommandButton1.Enabled = true
   MsbBox "B"
End Sub

When running the program and clicking the button after the second 
message I see only a part of the caption. How to fix this ? 
UpdateScreen does not work.

Thanks...




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nsb-ce" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nsb-ce?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to