The current hyperlink from the table

This forum is for eXpress++ general support.
Message
Author
reganc
Posts: 259
Joined: Thu Jan 28, 2010 3:08 am
Location: Hersham, Surrey, UK
Contact:

Re: The current hyperlink from the table

#11 Post by reganc »

Eugene Lutsenko wrote:For some reason I immediately imagined what it must be like to make the background color of the column. Only instead of the COLOR should be like a HYPERLINK:

Code: Select all

DCBROWSECOL FIELD WebAppls->Appl_Name HEADER "Наименование приложения" PARENT WebAppls FONT "9.Courier" WIDTH 45 PROTECT {|| .T. } COLOR {||{nil,aColor[153]}}                            
[/size]

But how to access the field value when it is clicked?
DCBROWSECOL .... ACTION {||DC_SpawnUrl(???)}
As the current record would be the one with the related URL could you not just do:

ITEMSELECTED {|| DC_SpawnUrl(FIELD-><the one with the URL in>) } ;
Regan Cawkwell
Real Business Applications Ltd
http://www.rbauk.com

User avatar
Eugene Lutsenko
Posts: 1649
Joined: Sat Feb 04, 2012 2:23 am
Location: Russia, Southern federal district, city of Krasnodar
Contact:

Re: The current hyperlink from the table

#12 Post by Eugene Lutsenko »

Did it! Works! Thank you so much!

Code: Select all

@ 1, 0 DCBROWSE WebAppls ALIAS 'WebAppls' SIZE 212,30 ;
       EDIT xbeBRW_ItemSelected MODE DCGUI_BROWSE_EDITDOWN ;            // Редактирование БД
       NOSOFTTRACK ;
       HEADLINES 2 ;                      // Кол-во строк в заголовке (перенос строки - ";")
       SCOPE ;
       ITEMSELECTED {|| DC_SpawnUrl(WebAppls->E_mail) } 

User avatar
rdonnay
Site Admin
Posts: 4813
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: The current hyperlink from the table

#13 Post by rdonnay »

Eugene - Are you now satisfied? Did Regan solve your problem?
The eXpress train is coming - and it has more cars.

User avatar
Eugene Lutsenko
Posts: 1649
Joined: Sat Feb 04, 2012 2:23 am
Location: Russia, Southern federal district, city of Krasnodar
Contact:

Re: The current hyperlink from the table

#14 Post by Eugene Lutsenko »

rdonnay wrote:Eugene - Are you now satisfied? Did Regan solve your problem?
Yes, thank you! Regan solved my problem!

Actually I want to thank You for Your forum where normal people from different countries, friendly and competent, just help each other. I am very pleased and very useful to chat with You!

Post Reply