I know. :o) Silly me. Don't know what I was thinking. Brain cramp or something I guess. Mark this post as the silliest ever post! :o)
Tracy
>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
.·*´¨)
.·`TCH
(..·*
010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"