Unmoveable scroll bar of alert?

Post Reply
ShumingWang
Posts: 454
Joined: Sun Oct 30, 2005 6:37 am
Location: Guangzhou(Canton),China

Unmoveable scroll bar of alert?

Post by ShumingWang »

Antonio,

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

Best Regards!
Shuming Wang
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

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

Antonio Linares
www.fivetechsoft.com
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Post 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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

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
Post Reply