Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Ascii viewer, again
Message
De
19/09/2004 03:24:53
 
 
À
19/09/2004 00:44:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00943816
Message ID:
00943822
Vues:
15
>I am trying to create a ascii file viewer with buttons to move between pages, similar to report toolbar, but find difficulties.
>
>1) As you know, editbox does not have horizontal cursor, but instead wraps words, so you have to resort to reducing font size or using RFT box if text lines are long.
>
>2) If you change font size, Editbox.SelStart does not always send cursor to the bottom line in editbox. As a possible workaoround, is there a way to tell the position of cursor on screen in pixels from top of screen?
>
>3) If change to Rich text box in order to have horizontal cursor, moving between pages is complicated by RTF special chars.
>
>Does someone have a solution for this that would share?
>
>TIA,
>
>Alex

hi Alex,

I have not followed the ascii viewer thing, but what is wrong with the old 'modi file' command ?
&& on a form, or a defined window
modi file (FileName) noedit in (thisform.Name)
The wordwrap can be set off : Edit | properties >> WordWrap
Or you may have to play with the resource file, or maybe something else
Gregory
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform