Information générale
Catégorie:
Codage, syntaxe et commandes
>>I start up a form from another form and need to pass it a large amount (2-4K) of text. I then need the text returned to the calling form.
>>Do I just create a variable and pass that variable then return it? It works but is that an acceptable method?
>
>A more OOP approach may be to pass the text string as a property of an object. Store the object to a form property in the Init, manipulate it and release your form. Then there is no need to return anything.
I actually get an error that says "string is too long". Can the object have a property that will hold this much text?
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement