Page 1 of 1
Unmoveable scroll bar of alert?
Posted: Wed Dec 05, 2007 5:42 am
by ShumingWang
Antonio,
fwh711 and fwh712, alert("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")
will display a unmoveable scroll bar
Best Regards!
Shuming Wang
Posted: Wed Dec 05, 2007 9:18 am
by Antonio Linares
Shuming,
Thats because Alert() uses a disabled multiline GET. You can modify function Alert() source code to allow user input for the multiline GET.
Better use MsgInfo(), or other Msg... functions
Posted: Wed Dec 05, 2007 9:35 am
by Enrico Maria Giordano
Antonio Linares wrote:Shuming,
Thats because Alert() uses a disabled multiline GET. You can modify function Alert() source code to allow user input for the multiline GET.
You can simply remove WHEN .F. clauses from alert.prg. There are already READONLY clauses that are enough the get the scrollbar working.
EMG
Posted: Wed Dec 05, 2007 9:38 am
by Antonio Linares
Enrico,
Its a good solution but then it will accept the user focus
Though its not a big problem