Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to bold variable text in a header file
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00876705
Message ID:
00876736
Views:
10
I could probably also create a new text variable that is conditionally shown with the bolded text based on which step it's on. I'd take that text out of the .h file completely...
>VFP Edit box doesn't allow formatting of parts of the text. You'll have to replace it with some other control, like Web browser control or RTF control and modify code accordingly.
>
>>This is a modification of the VFP Import Wizard code. The header file has some text like:
>>#define DESC2A_LOC ;
>>"The wizard has set columns as shown. Click to add a column break. " + ;
>>"Click and drag the column break to adjust it. To delete a column " + ;
>>"break, drag it above the ruler. At a minimum, you must have columns " + ;
>>"defined for id, first_name, last_name, add1, city, state, zip, amount, date"
>>
>>#define DESC2A_ALT_LOC ;
>>"How do you want to define the imported fields?" + ;
>>chr(13)+chr(13)+ ;
>>"Select a column by clicking below the heading, then specify " + ;
>>"the field settings. At a minimum, you must give these names to" + ;
>>" the appropriate fields: id, first_name, last_name, add1, city, " + ;
>>"state, zip, amount, date"
>>
>>These are loaded into an array and, on the proper step, assigned as the value of the edtDesciption variable on the form. I would like to just BOLD the following text: id, first_name, last_name, add1, city,state, zip, amount, date . They only appear on 2 of the steps.
>>
Previous
Reply
Map
View

Click here to load this message in the networking platform