Hello Antonio,
Could you provide a msginfo with a bigger “ok” button like in FWH or the MSGYESNO.
The little “OK” is very hard to touch with the finger.
Thanks in advance
Otto
MsgInfo
MsgInfo
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
********************************************************************
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: MsgInfo
Otto,
Those dialogs are Windows API built-in ones.
If you need a different one, then you have to code a dialogbox yourself. Its quite simple
Those dialogs are Windows API built-in ones.
If you need a different one, then you have to code a dialogbox yourself. Its quite simple
Re: MsgInfo
Antonio, would you be so kind to provide this code.
As msginfo is used often the code should be high standard.
Thanks in advance
Otto
As msginfo is used often the code should be high standard.
Thanks in advance
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
********************************************************************
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: MsgInfo
Otto,
MsgInfo() is just a wrapper to Windows API MessageBox() function.
If you want to use a different MessageBox() style in your application, simply design a dialog with the resources editor the way you want it: A SAY, an ICON (or a bitmap) and a BUTTON.
We can't provide a MessageBox() replacement that satisfies everybody wishes Thats the freedom and beauty of FiveWin: you can modify it the way that you want it.
MsgInfo() is just a wrapper to Windows API MessageBox() function.
If you want to use a different MessageBox() style in your application, simply design a dialog with the resources editor the way you want it: A SAY, an ICON (or a bitmap) and a BUTTON.
We can't provide a MessageBox() replacement that satisfies everybody wishes Thats the freedom and beauty of FiveWin: you can modify it the way that you want it.
Re: MsgInfo
Hello Antonio,
what would be the best way to make the own msginfoBox modal.
Do I have to pass always the calling Window/dialog object?
Thanks in advance
Otto
what would be the best way to make the own msginfoBox modal.
Do I have to pass always the calling Window/dialog object?
Thanks in advance
Otto
Code: Select all
function MsgInfo1(cText)
local oDlg
DEFINE DIALOG oDlg TITLE "Information" ;
SIZE 200, 100 //COLOR "N/G"
@ 0.6, 4 SAY cText SIZE 80, 10
@ 1.6, 6 BUTTON "OK" ACTION oDlg:End() SIZE 30, 20
ACTIVATE DIALOG oDlg CENTERED
return nil
//----------------------------------------------------------------------------//
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
********************************************************************
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: MsgInfo
Otto,
is it running modal ?
If not, then you may need to supply it the oWnd of its container window.
is it running modal ?
If not, then you may need to supply it the oWnd of its container window.