Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
EditBox and ScrollBars
Message
De
15/12/2004 11:20:27
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
00969445
Message ID:
00969476
Vues:
7
Using the rich textbox control, in the init of the form if I try to set a property's value (like scrollbars) it returns the error that the property is readonly. So far i have only been able to change it by using the properties sheet or the activex richtextctrl properties (right clicking on the control and selecting its properties there)


>Just keep in mind that what you set there may not be "saved" for use at runtime. You may have to set these at runtime using code.
>
>>Right clicking on the control there is an activex properties window that I was not aware of that has the font settings.
>>>FWIW, you may be better off just using a textbox control and making it ReadOnly. The user will still be able to click in the box and move all the way to the end to see the value. You can also set the ToolTip property of the control to its value.
>>>
>>>>There is a font property on the forms textbox control but it is an object and I cannot see out to select a font. The box that pops up displays no fonts to choose from (don't know why).
>>>>
>>>>Also, I set it to disabled so that the user cannot edit the contents (it is for diaplaying only) and when the user clicks in it it changes the mouse pointer to the edit pointer but does not allow the user to click in the control (as it should be disabled this is correct) but then it takes a LONG time to switch back the pointer so that the user cannot click on anything else on the form.
.·*´¨)
.·`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"
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform