Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Messagebox next line
Message
From
06/09/2007 15:09:01
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01252832
Message ID:
01252865
Views:
23
>>Nick,
>>
>>please make your messages readable by setting the number of characters per line.
>>
>>>Thanks Beth, I'm going to try that, but I have run into another problem. I did a sample messagebox and kept getting errors that my "variable msgstr is not found". Here is the sample:
>>>
>>>
>>>LOCAL msgstr,crsprod,whsamt,tqpu
>>>msgstr = ''
>>>crsprod = 'product1'
>>>whsamt = 2
>>>tqpu = 1
>>>
>>>crtstr = "You don't have enough "+ALLTRIM(crsprod)+" Product in the inventory. You are trying to deliver "+STR(whsamt)+" and you only have "+STR(tqpu)+" inventory in stock. Please click 'None' in the option or reduce the amount you are trying to deliver in the 'WHS Qty' column"+CHR(10) + CHR(13)
>>>msgstr = msgstr + ALLTRIM(crstr)
>>>
>>>
>>>crsprod = 'product2'
>>>whsamt = 5
>>>tqpu = 4
>>>
>>>crtstr = "You don't have enough "+ALLTRIM(crsprod)+" Product in the inventory. You are trying to deliver "+STR(whsamt)+" and you only have "+STR(tqpu)+" inventory in stock. Please click 'None' in the option or reduce the amount you are trying to deliver in the 'WHS Qty' column"CHR(10) + CHR(13)
>>>msgstr = msgstr + ALLTRIM(crstr)
>>>
>>>
>>>
>>>MESSAGEBOX(msgstr,0,"Warning, correct the delivery inventory amount")
>>>
>>>
>>>
>>>thanks
>>>Nick
>
>Any trick to that? Thanks
>
>nick

I don't remember exactly, but try Message view setup in the upper right corner of the message area, Select message area width.
Previous
Reply
Map
View

Click here to load this message in the networking platform