Jeroen,
If you don't like the editbox displaying in disabled colors when marked as readonly, you can use this code in the KeyPress method:
LPARAMETERS nKeyCode, nShiftAltCtrl
if ( ! inlist( nKeyCode, 1, 6, 18, 3, 5, 24, 4, 19, 9, 15, 49, 57, 51, 56, 50, 52, 54 ) )
nodefault
endif
This will still allow navigation keystrokes to work properly but disable any editing of the content.
>Meaning: I display info in an editbox and I don't want the user to be able to edit the text but I want him to be able to use the scrollbars. So if I disable it they can't scroll. If I enable they can edit. How can this one be solved ? (putting a shape control over it ?)