Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MessageBox with custom button captions
Message
From
17/12/2002 14:49:41
 
 
To
17/12/2002 14:25:12
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00733772
Message ID:
00733817
Views:
31
Tracy, tsk tsk. The symbol for multiplication is '*' not 'x'.

Alan

>Thanks Sergey, I looked at alert.prg but it requires foxtools and I'm trying to limit what is distributed with our app to keep the size as small as possible.
>
>I have created a form that works well, however, I need to be able to resize it and its objects based on the size of the message. I have a label that holds the message and the message is passed to the form and displays correctly. However, I would like to resize everything based on the length of the message. I know the label height should be approximately 17 X the length of the message divided by 60, but the below does not work:
>
>
>THISFORM.label1.caption=lcmessage
>lblheight=(LEN(lcmessage)/60)x17
>THISFORM.label1.height=lblheight
>
>
>I receive the 'syntax error' when I try the above code. Any idea how I can set a label height using a computed value?
>
>TIA,
>Tracy
>
>this is my message and is about 3 lines long in total on the form
>>You can try Alert.prg - custom messagebox File #9445.
>>
>>>Has anyone figured out a way to display a messagebox with custom captions on the buttons? I would like to do this WITHOUT adding an FLL to my project as in File #9676.
>>>
>>>TIA,
>>>Tracy
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform