Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>>>>I have a simple Editbox that contains memo data. For example purposes, let's say the EditBox shows five lines at a time and has a vertical scroll bar. If I enter 10 lines of data in one record, leave the cursor at the end of line 10, then go to the next record (via a push button) and the next record has only 1 line of data, the EditBox doesn't show that 1 line of text unless I click on the DISABLED scroll bar's up arrow! Is this a bug? Anyone have a workaround? I want the beginning of the memo field to show every time I go to a new record.
>>>
>>>Try refreshing the editbox by calling EditBox.Refresh()
>>>
>>>Kamal
>>
>>I tried that already... it didn't work. Thanks anyways.
>
>Looks like a bug. I was finally able to generate it but it appeared if I had lots of blank lines in memo. I have the solution but I sincerly hope that there is something better than this...
>
>loObject = thisform.edtMyEditBox
>KEYBOARD'{HOME}'
>loObject.SetFocus()
>
>Kamal
Where did you put those three lines of code?
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