How to make a working hyperlink?

This forum is for eXpress++ general support.
Post Reply
Message
Author
User avatar
Eugene Lutsenko
Posts: 1649
Joined: Sat Feb 04, 2012 2:23 am
Location: Russia, Southern federal district, city of Krasnodar
Contact:

How to make a working hyperlink?

#1 Post by Eugene Lutsenko »

Please, prompt how to make a working hyperlink of the text displayed in MODAL a window or on pressing of the DCPUSHBUTTON button

User avatar
RDalzell
Posts: 205
Joined: Thu Jan 28, 2010 6:57 am
Location: Alsip, Illinois USA

Re: How to make a working hyperlink?

#2 Post by RDalzell »

bHistory := {|| History(nCitation) }

@ 21.50,65.50 DCSAY {|| TRANSFORM(nCitations,"999,999") } SAYSIZE 12 PARENT oStatic COLOR GRA_CLR_BLUE, GRA_CLR_BACKGROUND ;
CURSOR 12347 ;
HYPERLINK bHistory ;
SAYFONT '12.Helv Bold'

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

Re: How to make a working hyperlink?

#3 Post by rdonnay »

You can use the HYPERLINK clause of @..DCSAY for underlined text that calls any URL.

For a pushbutton, use the function DC_SpawnUrl() in your ACTION code block.

Example: @ .. DCPUSHBUTTON .. CAPTION 'Website' .. ACTION {||DC_SpawnUrl("http://donnay-software.com")}
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: How to make a working hyperlink?

#4 Post by Eugene Lutsenko »

Thank you very much! I Will try. And how to make, that hyperlinks worked from the text deduced by function given below:

Code: Select all

***********************************************************************************************************
********  6.1. Информация о системе, разработчике и средствах разработки (FUNCTION XSample_185() xdemo.exe)
***********************************************************************************************************
FUNCTION F6_1()

LOCAL GetList[0], cText

TEXT INTO cText WRAP "\n" TRIMMED
ИНФОРМАЦИЯ О СИСТЕМЕ И РАЗРАБОТЧИКЕ:
(C) Универсальная когнитивная аналитическая система "ЭЙДОС-X++", версия 20.01,
(C) д.э.н., к.т.н., профессор Луценко Евгений Вениаминович, Россия, Краснодар.
     http://Lc.lubagro.ru   prof.lutsenko@gmail.com

ФУНКЦИИ СИСТЕМЫ:
Универсальная когнитивная аналитическая система "ЭЙДОС", является инструментарием системно-когнитивного анализа
(СК-анализ), разработана в универсальной постановке, не зависящей от предметной области: и обеспечивает:
- формализацию предметной области;
- многопараметрическую типизацию, синтез, повышение качества и верификацию семантической информационной модели
 (СИМ)предметной области;
- распознавание (системную идентификацию и прогнозирование);
- поддержку принятия решений (типология);
- исследование семантической информационной модели (СИМ), включая: дивизивную и агломеративную когнитивную клас-
  теризацию, конструктивный анализ и системно-когнитивный анализ (СК-анализ) СИМ: семантические и нейронные сети,
  когнитивные диаграммы, классические и интегральные когнитивные карты.

Разработчик концепции, математической модели (системной теории информации - СТИ), методики численных расчетов
(структур данных и алгоритмов), программной реализации и технологии применения системы "Эйдос" (автоматизированный
СК-анализ): д.э.н., к.т.н., профессор Луценко Евгений Вениаминович, http://Lc.lubagro.ru   prof.lutsenko@gmail.com
Система "Эйдос-Х++" разработана по инициативе автора: проф. Е.В.Луценко, без заказа и финансирования со стороны
каких-либо организаций и все права на нее принадлежат автору (см.: http://lc.kubagro.ru/aidos/index.htm и статью:
Луценко Е.В. 30 лет системе <Эйдос> - одной из старейших отечественных универсальных систем искусственного интеллекта,
широко применяемых и развивающихся и в настоящее время / Е.В. Луценко // Политематический сетевой электронный научный
журнал Кубанского государственного аграрного университета (Научный журнал КубГАУ) [Электронный ресурс]. - Краснодар:
КубГАУ, 2009. - №10(54). С. 48 - 77. - Шифр Информрегистра: 0420900012\0110. - Режим доступа:
http://ej.kubagro.ru/2009/10/pdf/04.pdf, 1,875 у.п.л.).

УЧАСТИЕ В РАЗРАБОТКЕ И СОАВТОРСТВО:
- Концепция групп приложений и алгоритмы голосования частных моделей в мультимодели разработаны проф.Е.В.Луценко совместно
  с Ph.D, Cand.Phys.-Math.Sci., Alexander Trunev, Director, A&E Trounev IT Consulting, Toronto, Canada: http://trounev.com/
- Программное обеспечение режимов 4.5 <Визуализация когнитивных функций> и 6.7 <Визуализация логотипов мультмоделей>
  разработано по постановке проф.Е.В.Луценко разработчиком интеллектуальных систем из Белоруссии Дмитрием Константиновичем
  Бандык.

КОНСУЛЬТАТИВНАЯ И МОРАЛЬНАЯ ПОДДЕРЖКА ПРОГРАММНОЙ РЕАЛИЗАЦИИ:
- Clifford Wiernik, CPA/CNE, Senior IT Analyst, www.aquafinance.com cwiernik@aquafinance.com Tel:  800-234-3663 x1126,
Fax:  715-848-1411, Aqua Finance, Inc, One Corporate Dr, Ste 300, Wausau WI 54401, USA, Я благодарен Клиффорду за
его советы, которые были иногда как глоток прохладной чистой воды в пустыне.
- Roger Donnay, Professional Developer, Developer eXPress++, Boise, Idaho USA, http://donnay-software.com,
http://bb.donnay-software.com:8080/phpBB3/. А при поддержке такого старого морского волка, как Роджер, самое далекое
и рискованное заокеанское плавание превращается в увлекательнейший морской круиз на прекрасном клиппере, летящем
над волнами под всеми парусами.
- Dmitriy Kulagin, St.Petersburg, Russia, http://www.softscribe.ru

ЛИЦЕНЗИОННЫЕ СРЕДСТВА РАЗРАБОТКИ:
Alaska Xbase++ (R) Version 1.90.355 SL1, TOOLS III, http://alaska-software.com/
eXPress++ (C) Version 1.9 Build 255, http://donnay-software.com
Advantage Database Server (ADS) 10.0, http://www.AdvantageDatabase.com
ENDTEXT

@ 0,0 DCSTATIC TYPE XBPSTATIC_TYPE_TEXT SIZE 0 ;
     CAPTION cText FORMATTED ;
     FONT '9.Lucida Console' ;
     COLOR GRA_CLR_BLACK, GRA_CLR_WHITE

DCREAD GUI FIT TITLE '6.1. Информация о системе, авторе-разработчике, средствах разработки и поддержке'

RETURN nil
The text is written generally in Russian, and I will give its clumsy (automatic) translation into English, but on the screen it is deduced in the 1st option. I gave this transfer, that it was approximately clear, about what there is a speech and why I give hyperlinks.

Code: Select all

***********************************************************************************************************
******** 6.1. Information on system, developer and facility of the development (FUNCTION XSample_185() xdemo.exe)
***********************************************************************************************************
FUNCTION F6_1()

LOCAL GetList[0], cText

TEXT INTO cText WRAP "\n" TRIMMED
INFORMATION On SYSTEM And DEVELOPER:
(C) Universal cognitive analytical system "AIDOS-X++", version 20.01, (C) Lutsenko Evgeny Veniaminovich, Dr.Sci.Econ., Cand.Tech.Sci., professor, Russia, Krasnodar.
     http://Lc.lubagro.ru   prof.lutsenko@gmail.com

SYSTEM FUNCTIONS:
The universal cognitive analytical system "AIDOS-X++", is tools of the system and cognitive analysis
(SK-analiz), it is developed in the universal statement which is not depending on subject domain: also provides:
- formalization of subject domain;
- multiple parameter typification, synthesis, improvement of quality and verification of semantic information model
(THIS) of subject domain;
- recognition (system identification and forecasting);
- support of making decisions (typology);
- research of semantic information model (THIS), including: divizivny and agglomerative cognitive klas-
terizatsiya, constructive analysis and system and cognitive analysis (SK-analiz) THIS: semantic and neural networks,
cognitive charts, classical and integrated cognitive maps.

The Developer to concepts, mathematical model (the system theory to information - STI), methodses numerical calculation (the structures data and algorithm), programme realization and technologies of the using the system "AIDOS" (automated SK-analysis): Dr.Sci.Econ., Cand.Tech.Sci., professor Lucenko Evgeniy Veniaminovich, http://Lc.lubagro.ru prof.lutsenko@gmail.com System "AIDOS-X++" is designed on the initiative author: prof. E.V.LUCENKO, without order and financing on the part of some organization and all right on she belongs to the author (refer to: http://lc.kubagro.ru/aidos/index.htm and article:
Lucenko E.V. 30 years to system <Eydos> - one of the the most old domestic universal systems of the artificial intelligence, broadly applicable and developing and at present / E.V. Lucenko // Politematicheskiy network electronic scientific journal Kubanskogo state agrarian university (the Scientific journal KUBGAU) [Electronic resource - Krasnodar:
KUBGAU, 2009. -  10(54). S. 48 - 77. - a Cipher Informregistra: 0420900012\0110. - a Mode of the access:
http://ej.kubagro.ru/2009/10/pdf/04.pdf, 1,875 u.p.l.).

THE PARTICIPATION In DEVELOPMENT And COAUTHORSHIP:
- A Concept of the groups of exhibits and algorithms of the voting quotient models in мультимодели is designed prof..E.V.LUCENKO with Ph.D, Cand.Phys.-Math.Sci., Alexander Trunev, Director, A&E Trounev IT Consulting, Toronto, Canada: http://trounev.com/
- Software mode 4.5 <Visualization когнитивных function> and 6.7 <Visualization logotype мультмоделей> is designed on production prof..E.V.LUCENKO developer of the intellectual systems from Belorussia Dmitriem Konstantinovichem Bandyk.

CONSULTING And MORAL SUPPORT of the PROGRAMME REALIZATION:
- Clifford Wiernik, CPA/CNE, Senior IT Analyst, www.aquafinance.com cwiernik@aquafinance.com Tel: 800-234-3663 x1126, Fax: 715-848-1411, Aqua Finance, Inc, One Corporate Dr, Ste 300, Wausau WI 54401, USA, I am grateful to Clifford for
its councils which were sometimes as a cool drink at its finest in the desert.
- Roger Donnay, Professional Developer, Developer eXPress++, Boise, Idaho USA, http://donnay-software.com, http://bb.donnay-software.com:8080/phpBB3/. And with support of such old old salt, as Roger, the farthest
and risky transatlantic swimming turns into the most fascinating sea cruise on the fine clipper flying
over waves under all sails.
- Dmitriy Kulagin, St.Petersburg, Russia, http://www.softscribe.ru

THE LICENSE FACILITY of the DEVELOPMENT:
Alaska Xbase++ (R) Version 1.90.355 SL1, TOOLS III, http://alaska-software.com/
eXPress++ (C) Version 1.9 Build 255, http://donnay-software.com
Advantage Database Server (ADS) 10.0, http://www.AdvantageDatabase.com
ENDTEXT

@ 0,0 DCSTATIC TYPE XBPSTATIC_TYPE_TEXT SIZE 0 ;
     CAPTION cText FORMATTED ;
     FONT '9.Lucida Console' ;
     COLOR GRA_CLR_BLACK, GRA_CLR_WHITE

DCREAD GUI FIT TITLE '6.1. Information on system, author-developer, facility of the development and support'

RETURN nil

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

Re: How to make a working hyperlink?

#5 Post by Eugene Lutsenko »

Made a window with hyperlinks. It seems it turned out, but for some reason headings before hyperlinks are cut off. I provide the program and a window screenshot.

Code: Select all

***********************************************************************************************************
********  6.2. Ссылки на патенты, монографии и статьи по системе (FUNCTION XSample_185() xdemo.exe)
***********************************************************************************************************
FUNCTION F6_2()

DCSETFONT TO '10.Helv Bold'

@ 0,1 DCSAY 'ПАТЕНТЫ:'
@ 1,1 DCSAY 'http://lc.kubagro.ru/aidos/index.htm' COLOR GRA_CLR_BLUE HYPERLINK {|p,c|p := 'url.dll,FileProtocolHandler ' + ;
            'http://lc.kubagro.ru/aidos/index.htm', c := 'Rundll32.exe', RunShell(p,c,.t.,.t.)}

@ 3,1 DCSAY 'МОНОГРАФИИ:'
@ 4,1 DCSAY 'http://lc.kubagro.ru/aidos/index.htm' COLOR GRA_CLR_BLUE HYPERLINK {|p,c|p := 'url.dll,FileProtocolHandler ' + ;
            'http://lc.kubagro.ru/aidos/index.htm', c := 'Rundll32.exe', RunShell(p,c,.t.,.t.)}
@ 5,1 DCSAY 'http://www.twirpx.com/user/858406/' COLOR GRA_CLR_BLUE SAYSIZE 0 HYPERLINK {|p,c|p := 'url.dll,FileProtocolHandler ' + ;
            'http://www.twirpx.com/user/858406/', c := 'Rundll32.exe', RunShell(p,c,.t.,.t.)}

@ 7,1 DCSAY 'СТАТЬИ:' SAYFONT '10.Helv Bold'
@ 8,1 DCSAY 'http://ej.kubagro.ru/a/viewaut.asp?id=11' COLOR GRA_CLR_BLUE SAYSIZE 0 HYPERLINK {|p,c|p := 'url.dll,FileProtocolHandler ' + ;
            'http://ej.kubagro.ru/a/viewaut.asp?id=11', c := 'Rundll32.exe', RunShell(p,c,.t.,.t.)}
@ 9,1 DCSAY 'http://elibrary.ru/author_items.asp?authorid=123162' COLOR GRA_CLR_BLUE SAYSIZE 0 HYPERLINK {|p,c|p := 'url.dll,FileProtocolHandler ' + ;
            'http://elibrary.ru/author_items.asp?authorid=123162', c := 'Rundll32.exe', RunShell(p,c,.t.,.t.)}

DCREAD GUI FIT TITLE '6.2. Ссылки на патенты, монографии и статьи по системе'

RETURN nil
Image

And if before a hyperlink to put the text, about looks too as a hyperlink. And whether there is a possibility to display a hyperlink in the usual text one DCSAY team?

Wolfgang Ciriack
Posts: 479
Joined: Wed Jan 27, 2010 10:25 pm
Location: Berlin Germany

Re: How to make a working hyperlink?

#6 Post by Wolfgang Ciriack »

Hello,
put a SAYSIZE 0 to the Headings, so that the width is calculated automaticly.
_______________________
Best Regards
Wolfgang

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

Re: How to make a working hyperlink?

#7 Post by Eugene Lutsenko »

Thanks! Now everything is normal.

Post Reply