FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour dialog creation ..
Posts: 401
Joined: Tue Jan 05, 2010 02:33 PM

dialog creation ..

Posted: Thu Aug 18, 2011 05:33 PM

it is possible create a dialog ( with no border ) at the end of Buttonbar When I click a btnbmp ?

I hace on a dialog some btnbmp as tables of a restaurant

when I click each button I wish show a dialog at the end the button bar of wndmain to show other information

when I clich into dialog and not click on btnbmp it must not showed

How make it with fwh please ?

FWH .. BC582.. xharbour
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM

Re: dialog creation ..

Posted: Thu Aug 18, 2011 07:47 PM
:-) :-) :-)

Changes the Info at the Bar-End on Buttonclick :
Could be possible from a Buttonclick inside a Dialog as well.



Best Regards
Uwe :-)
Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.
Posts: 80
Joined: Tue Mar 25, 2008 09:03 PM

Re: dialog creation ..

Posted: Thu Aug 18, 2011 08:01 PM

maybe it's what you need

DEFINE DIALOG oDlgb FROM 0, 0 TO 180, 500 TRANSPARENT [u:1nbpfj4x]STYLE NOR( WS_VISIBLE)[/u:1nbpfj4x] PIXEL

saluti
Stefano

FWH 14.11 + xHarbour + bcc582
Posts: 401
Joined: Tue Jan 05, 2010 02:33 PM

Re: dialog creation ..

Posted: Thu Aug 18, 2011 08:03 PM
please I mean something of it








when I click on a table the procedure show a dialog ( with other info) and the it must be hide when I click on another table or another point of dialog




it is possible with fwh ?
FWH .. BC582.. xharbour
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM

Re: dialog creation ..

Posted: Thu Aug 18, 2011 08:11 PM
I understand, was a mistake of mine ( Action from inside the Bar ).

Your Question :
is is it possible, to create a dialog ( with no border ) at the end of Buttonbar :-)

That means to me, a Buttonaction from inside the Dialog shows a Message inside the Ribbonbar
or below ( outside ) like Your Screenshot shows ( Both could be done ).

Best Regards
Uwe :-)
Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.
Posts: 401
Joined: Tue Jan 05, 2010 02:33 PM

Re: dialog creation ..

Posted: Thu Aug 18, 2011 08:40 PM

under the buttonbar or under the ribbonbar it is the same
but I must click on a btnbmp and it open the dialog
if I click on white box or on tree for sample it must be hide
it must be showed only if I click on table( btnbmp)

FWH .. BC582.. xharbour
Posts: 401
Joined: Tue Jan 05, 2010 02:33 PM

Re: dialog creation ..

Posted: Thu Aug 18, 2011 08:51 PM

I tried to create a dialog as ribbonbar use when create a popup dialog when lStretch see PopupGroup() ( trbgroup)
but the n I not know how close it

FWH .. BC582.. xharbour
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM

Re: dialog creation ..

Posted: Thu Aug 18, 2011 09:21 PM
Dialog with Buttons
Message on Mainwindow
Message changes on Buttonclick inside the Dialog
Dialog-click on Blank-area closes the Message.



Works the same : a Message from a Dialog shown inside a Ribbonbar :



Best Regards
Uwe :-)
Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM

Re: dialog creation ..

Posted: Fri Aug 19, 2011 12:26 AM

Have you thought of using a tooltip? It would automatically appear, then disappear automatically also. Perhaps it wouldn't be displayed long enough?

Regards,
James

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 401
Joined: Tue Jan 05, 2010 02:33 PM

Re: dialog creation ..

Posted: Fri Aug 19, 2011 09:14 AM
James,

I wish a tooltip but on tooltip I cannot insert a xbrowse

I need something of this




I want showed this tooltip from btn bmp
FWH .. BC582.. xharbour
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM

Re: dialog creation ..

Posted: Fri Aug 19, 2011 11:34 AM
As I told, with BtnBmp it is not possible.
I don't know why my working Solutions and Proposals are ignored ?

A Dialog-tooltip :
visible, as long there is a Focus on the Temperature-area ( only Info ),
or can be forced to stay on Screen ( must be closed with a included Button )
Mouseclick on a Temperature, performs a Action.



Best Regards
Uwe :-)
Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.
Posts: 401
Joined: Tue Jan 05, 2010 02:33 PM

Re: dialog creation ..

Posted: Fri Aug 19, 2011 12:07 PM
ukoenig wrote:As I told, with BtnBmp it is not possible.
I don't know why my working Solutions and Proposals are ignored ?

Best Regards
Uwe :-)


on espan貌l
No voy a discutir por su respuesta, pero creo que si una persona no sabe c贸mo ayudar a otra persona, 驴por qu茅 necesariamente debe imponer otra soluci贸n que es claramente err贸neo porque no se puede construir cualquier aplicaci贸n porque no se puede hacer una cosa: creo que en lugar de una tooltip con una xBrowse usted puede hacer, FWH no pod铆a hacer nada y luego te aviso que usted puede hacer muchas cosas, s贸lo la voluntad de ayudar a resolver problemas y no imponer otras cosas ...


on english (sorry for my english)

I will not argue for your answer, but I think if a person does not know how to help someone, why must necessarily impose another solution that is clearly wrong because you can not build any application because you can not do one thing: I instead of a tooltip with a xBrowse you can do, FWH could do nothing and then you notice you can do many things, just a willingness to help solve problems and not to impose other things ...




if I cannot create a big tooltip i can create a dialog or I can create another solution but I cannot re build all the application because I cannot found a solution for this problem
My customer have his application and use allready it from 1 year , i must only found a solution for show a message for each tables to see the reservation , if this is no possibile with fwh
ok I cannot make it ...
FWH .. BC582.. xharbour
Posts: 401
Joined: Tue Jan 05, 2010 02:33 PM

Re: dialog creation ..

Posted: Fri Aug 19, 2011 12:28 PM

on web I found this :

http://www.devcomponents.com/dotnetbar/ ... ltips.aspx
please go to see it

tolltip with image and controls

With fwh why it no possible ?

FWH .. BC582.. xharbour
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM

Re: dialog creation ..

Posted: Fri Aug 19, 2011 01:24 PM

I think it can be done, but you will have to write your own new control class to be able to do it. And you can't subclass from FW's tooltip because it isn't a separate class--it is static functions within another class. So you would have to start from scratch.

The easier solution is to just use a dialog.

Regards,
James

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 401
Joined: Tue Jan 05, 2010 02:33 PM

Re: dialog creation ..

Posted: Sat Aug 20, 2011 01:20 PM

James you're right

but I 'm sure I'm not able to make class

but I tried to make a class but I saw otooltip on Windows class is not a classdata but only a variable static !!

for the dialog how I can make it ?

FWH .. BC582.. xharbour