Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CheckBox Style Graphical
Message
From
07/04/2003 10:33:16
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
CheckBox Style Graphical
Miscellaneous
Thread ID:
00774705
Message ID:
00774705
Views:
57
Hi

in one form , i need show status of one field .
Field is .T. , or .F. = "Close" or "Open"

I use one CheckBox style graphical .

End user can change status .

I want when end user click in CheckBox style graphical , the VFP show one message ask if he is sure about it .

I have this code in When , checkBox graphical , but don´t work .

Can you help me ?

Thanks
** code when
 
 IF EnCab.fechada = .F.
 
  cMessageTitle = 'Stop'
  cMessageText = 'Do you want close ... ?'
  nDialogType = 4 + 32 + 256
 
 ELSE
 
  cMessageTitle = 'Stop'
  cMessageText = 'Do you want open ... ?'
  nDialogType = 4 + 32 + 256
 

 ENDIF
 

 nAnswer = MESSAGEBOX(cMessageText, nDialogType, cMessageTitle)
 
 IF nAnswer = 7
 
  RETURN .F.
 
 ELSE
 
  RETURN .T.
 
 ENDIF


Pedro Silva

world is wonderful with your help .

Next
Reply
Map
View

Click here to load this message in the networking platform