TUrlLink on Xbrowse

TUrlLink on Xbrowse

Postby Silvio.Falconi » Tue Feb 27, 2024 12:02 pm

in a normal Xbrowse table I would like to have the possibility of displaying a hyperlink text ( TUrlLink) in a field, but not all the records, just the ones I want.

why do I want to have a Hyperlink text?

because the final user could click on it and view information

example :

Imagine a table with payment notices (I'm referring to a program I made for my school)

in a field there is the information "order number xxxx" this text, if clicked ( as urllink made), can open the order management and view the schedule of that order without the final user having to open the order management and search for that person order number, i.e. you could open the schedule directly from the payment advice table.
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7066
Joined: Thu Oct 18, 2012 7:17 pm

Re: TUrlLink on Xbrowse

Postby Silvio.Falconi » Wed Feb 28, 2024 8:30 am

any solution ?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7066
Joined: Thu Oct 18, 2012 7:17 pm

Re: TUrlLink on Xbrowse

Postby Jimmy » Thu Feb 29, 2024 5:26 am

hi Silvio,

https://forums.fivetechsupport.com/viewtopic.php?f=6&t=37846
seem me the Solution which use a "Trick" (blue Color) to show URL
Image
when DblClick on Cell you can open a "extra" Dialog using TURLLink()

---

as i know it is not possible to use a "external" Object as Column for XBROWSE
Default XBROWSE can use CLASS TXBrwColumn or CLASS TXBrColCode

Data must be Type "C,M,N,D" or BITMAP so e.g. you can´t put DTPICK Object "direct" in a Cell of XBROWSE

for This Fivewin have
Code: Select all  Expand view  RUN
METHOD EditDateTime( nKey ) CLASS TXBrwColumn

to popup when edit (but no Sample)

Screenshot show same Trick to get DTPICK, under HMG in a GRID using COLUMNCONTROLS, which appear same Way when "Edit" Data
Image
---

XBROWSE:bCellToolTips : have a look at c:\fwh\samples\xbceltip.prg
and for Parameter https://forums.fivetechsupport.com/viewtopic.php?t=43939

---

i have try use a Object in XbpBrowser() under Xbase++ using my own Column CLASS to handle DTPICK
Image
it does work but consume a lot of GDI Resource for each DTPICK Object :(

---

Resume :
when ask for "URLlink" it is a new COLUMN CLASS for XBROWSE
as Workaround i would use Solution from viewtopic.php?f=6&t=37846

as Request ; new METHOD EditURLlink() and 2nd Font (blue, underline) for URL
greeting,
Jimmy
User avatar
Jimmy
 
Posts: 1732
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: TUrlLink on Xbrowse

Postby Silvio.Falconi » Thu Feb 29, 2024 8:14 am

Jimmy wrote:hi Silvio,

https://forums.fivetechsupport.com/viewtopic.php?f=6&t=37846
seem me the Solution which use a "Trick" (blue Color) to show URL
Image
when DblClick on Cell you can open a "extra" Dialog using TURLLink()

---

as i know it is not possible to use a "external" Object as Column for XBROWSE
Default XBROWSE can use CLASS TXBrwColumn or CLASS TXBrColCode

Data must be Type "C,M,N,D" or BITMAP so e.g. you can´t put DTPICK Object "direct" in a Cell of XBROWSE

for This Fivewin have
Code: Select all  Expand view  RUN
METHOD EditDateTime( nKey ) CLASS TXBrwColumn

to popup when edit (but no Sample)

Screenshot show same Trick to get DTPICK, under HMG in a GRID using COLUMNCONTROLS, which appear same Way when "Edit" Data
Image
---

XBROWSE:bCellToolTips : have a look at c:\fwh\samples\xbceltip.prg
and for Parameter https://forums.fivetechsupport.com/viewtopic.php?t=43939

---

i have try use a Object in XbpBrowser() under Xbase++ using my own Column CLASS to handle DTPICK
Image
it does work but consume a lot of GDI Resource for each DTPICK Object :(

---

Resume :
when ask for "URLlink" it is a new COLUMN CLASS for XBROWSE
as Workaround i would use Solution from viewtopic.php?f=6&t=37846

as Request ; new METHOD EditURLlink() and 2nd Font (blue, underline) for URL



Jimmy,
I saw the G,Callego sample but it is not that I mean
I sent you a video please see it
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7066
Joined: Thu Oct 18, 2012 7:17 pm


Return to FiveWin for Harbour/xHarbour

Who is online

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