Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Autosize edit box
Message
 
 
À
27/11/2019 10:40:21
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01672078
Message ID:
01672108
Vues:
62
>>>Check https://www.levelextreme.com/Home/ShowHeader?Activator=17&ID=9445
>>>
>>>There's code inside to chop any text into one label per line, to display that way.
>>
>>Thanks for the idea, I am not sure if a label would be OK because you would not be able to select the text. I can imagine sometimes it may be handy to be able to select text to copy it.
>
>Add a COPY button :).
>
>Anyway, steal any code that you like. Perhaps you can use it to insert CRs into the editbox to have it wrap under your control, and have a double CR on paragraph boundaries. Might make your editbox more controllable - but then the copied text would be riddled with carriage returns. Hmmmmm...

I thought about the copy button as well, but it could be someone might want to copy just a part of the text. But I guess I am thinking too far. Probably label is the easiest way to go, but the best solution would be probably what Tore suggested, only more work. So I am waiting for more feedback from the client, the simple editbox seems to work so far if I add some extra space at the end to make sure it does not cut off. I suppose it works because the amount of text is not that much, more typical of a simple message. I might even consider to limit the text so I can work with a single label.
Christian Isberner
Software Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform