FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index Bugs report & fixes / Informe de errores y arreglos Unmoveable scroll bar of alert?
Posts: 474
Joined: Sun Oct 30, 2005 06:37 AM
Unmoveable scroll bar of alert?
Posted: Wed Dec 05, 2007 05:42 AM

Antonio,

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

Best Regards!
Shuming Wang

http://www.xtech2.top
Mobile:(86)13802729058
Email:100200651@qq.com
QQ:100200651
Weixin: qq100200651
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Unmoveable scroll bar of alert?
Posted: Wed Dec 05, 2007 09: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
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Unmoveable scroll bar of alert?
Posted: Wed Dec 05, 2007 09: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
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Unmoveable scroll bar of alert?
Posted: Wed Dec 05, 2007 09: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

Continue the discussion