dialog creation ..

dialog creation ..

Postby MdaSolution » Thu Aug 18, 2011 5: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
User avatar
MdaSolution
 
Posts: 401
Joined: Tue Jan 05, 2010 2:33 pm

Re: dialog creation ..

Postby ukoenig » Thu Aug 18, 2011 7:47 pm

:?: :?: :?:

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

Image

Best Regards
Uwe :?:
Last edited by ukoenig on Thu Aug 18, 2011 8:07 pm, edited 1 time in total.
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.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: dialog creation ..

Postby stefano » Thu Aug 18, 2011 8:01 pm

maybe it's what you need


DEFINE DIALOG oDlgb FROM 0, 0 TO 180, 500 TRANSPARENT STYLE NOR( WS_VISIBLE) PIXEL

saluti
Stefano
FWH 14.11 + xHarbour + bcc582
stefano
 
Posts: 80
Joined: Tue Mar 25, 2008 9:03 pm
Location: ITALIA

Re: dialog creation ..

Postby MdaSolution » Thu Aug 18, 2011 8:03 pm

please I mean something of it



Image




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
User avatar
MdaSolution
 
Posts: 401
Joined: Tue Jan 05, 2010 2:33 pm

Re: dialog creation ..

Postby ukoenig » Thu Aug 18, 2011 8: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 :lol:
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.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: dialog creation ..

Postby MdaSolution » Thu Aug 18, 2011 8: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
User avatar
MdaSolution
 
Posts: 401
Joined: Tue Jan 05, 2010 2:33 pm

Re: dialog creation ..

Postby MdaSolution » Thu Aug 18, 2011 8: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
User avatar
MdaSolution
 
Posts: 401
Joined: Tue Jan 05, 2010 2:33 pm

Re: dialog creation ..

Postby ukoenig » Thu Aug 18, 2011 9:21 pm

Dialog with Buttons
Message on Mainwindow
Message changes on Buttonclick inside the Dialog
Dialog-click on Blank-area closes the Message.

Image

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

Image

Best Regards
Uwe :lol:
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.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: dialog creation ..

Postby James Bott » 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
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Re: dialog creation ..

Postby MdaSolution » Fri Aug 19, 2011 9:14 am

James,

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

I need something of this


Image

I want showed this tooltip from btn bmp
FWH .. BC582.. xharbour
User avatar
MdaSolution
 
Posts: 401
Joined: Tue Jan 05, 2010 2:33 pm

Re: dialog creation ..

Postby ukoenig » 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.

Image

Best Regards
Uwe :lol:
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.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: dialog creation ..

Postby MdaSolution » 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 :lol:


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
User avatar
MdaSolution
 
Posts: 401
Joined: Tue Jan 05, 2010 2:33 pm

Re: dialog creation ..

Postby MdaSolution » 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
User avatar
MdaSolution
 
Posts: 401
Joined: Tue Jan 05, 2010 2:33 pm

Re: dialog creation ..

Postby James Bott » Fri Aug 19, 2011 1: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
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Re: dialog creation ..

Postby MdaSolution » Sat Aug 20, 2011 1: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
User avatar
MdaSolution
 
Posts: 401
Joined: Tue Jan 05, 2010 2:33 pm

Next

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 33 guests