Unmoveable scroll bar of alert?

Unmoveable scroll bar of alert?

Postby ShumingWang » Wed Dec 05, 2007 5:42 am

Antonio,

fwh711 and fwh712, alert("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")
will display a unmoveable scroll bar

Best Regards!
Shuming Wang
ShumingWang
 
Posts: 460
Joined: Sun Oct 30, 2005 6:37 am
Location: Guangzhou(Canton),China

Postby Antonio Linares » Wed Dec 05, 2007 9:18 am

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
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41289
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Enrico Maria Giordano » Wed Dec 05, 2007 9:35 am

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
User avatar
Enrico Maria Giordano
 
Posts: 8307
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby Antonio Linares » Wed Dec 05, 2007 9:38 am

Enrico,

Its a good solution but then it will accept the user focus

Though its not a big problem :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41289
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to Bugs report & fixes / Informe de errores y arreglos

Who is online

Users browsing this forum: No registered users and 7 guests