Unmoveable scroll bar of alert?

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

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: 42512
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 31 times
Been thanked: 73 times
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: 8753
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Has thanked: 1 time
Been thanked: 4 times
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: 42512
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 31 times
Been thanked: 73 times
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