XIMAGE -> CLASS TXImage -> ACTION ?

XIMAGE -> CLASS TXImage -> ACTION ?

Postby Jimmy » Tue Aug 02, 2022 11:41 pm

hi,

i want to Dblclick on XIMAGE to start a ACTION like "Fullscreen" but i can´t find it.

i can use a BUTTON with IMAGE but i want to know if XIMAGE have a Codeblock Slot which i have overseen :?:
greeting,
Jimmy
User avatar
Jimmy
 
Posts: 1725
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: XIMAGE -> CLASS TXImage -> ACTION ?

Postby nageswaragunupudi » Wed Aug 03, 2022 10:45 am

bLDblClick := { || action() }

FullScreen?
Maximum size we can resize the image is the size of the XImage Control
If you want to show the image in "full screen" then you need to first maximize the container window/dialog to full screen and then increase the size of the ximage control itself to maximum client area size of the window/dialog and then display then expand the image by using oImage:FitRect()

Sorry, if I did not understand what exactly you mean by full screen
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10619
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: XIMAGE -> CLASS TXImage -> ACTION ?

Postby Jimmy » Thu Aug 04, 2022 4:12 am

hi,
nageswaragunupudi wrote:bLDblClick := { || action() }

Thx for Answer.

i begin to understand Concept of FineWin.
i have to look for "bXXXX" DATA which Codeblock Slot a Control have.

than i can search for ":bXXXX" in \Sample and hope find a Demo what can be in Codeblock in that Case
greeting,
Jimmy
User avatar
Jimmy
 
Posts: 1725
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: XIMAGE -> CLASS TXImage -> ACTION ?

Postby Marc Venken » Thu Aug 04, 2022 7:02 am

Jimmy,

There is a very interesting topic and utility program to search offline in the forum topics. You can also read the samples programs into it, so you can search for a item like :

oBrw:blclicked and you get a list off all the topics that has the search word. The list is then also linked to the forum topic position so 1 click and you a there.

Very interesting tool you should look at.

viewtopic.php?t=35170
Marc Venken
Using: FWH 23.04 with Harbour
User avatar
Marc Venken
 
Posts: 1425
Joined: Tue Jun 14, 2016 7:51 am
Location: Belgium

Re: XIMAGE -> CLASS TXImage -> ACTION ?

Postby Jimmy » Thu Aug 04, 2022 11:46 pm

hi Marc,
Marc Venken wrote:Very interesting tool you should look at.
http://forums.fivetechsupport.com/viewtopic.php?t=35170

thx for Advice.

the Work from Uwe is great. have to figure out how it work.
greeting,
Jimmy
User avatar
Jimmy
 
Posts: 1725
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany


Return to FiveWin for Harbour/xHarbour

Who is online

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

cron