NetTalk Central

Author Topic: Change Create Hyperlink value in progress control programatically  (Read 2310 times)

terryd

  • Hero Member
  • *****
  • Posts: 759
    • View Profile
    • Davcomm
    • Email
In my StartProcess Form on the Progress Control I set the text value to be p_web.GSV('ProgressMessage') and check the "Create Hyperlink when process completes" box
In my MakeFile I do a count of the number of records to process ( I normally use MSSQL).
If there are records to process I do p_web.SSV('Progress Message', FileRecords & ' records. Click here to download')
If there are no records p_web.SSV('ProgressMessage','SORRY NO RECORDS') or a request specific value

In the first instance no problem, the file is created and the user can click to download
In the second I would like to change the "Create Hyperlink when process completes" setting from TRUE to FALSE so that the user cannot download the blank file.
Is this possible at runtime?
Terry Davidson
Windows 10 64 bit/Windows7 64bit
Clarion 9.1.11529/Clarion10 12567
Nettalk 913
Nettalk 1015
StringTheory267/Winevent515/XFiles298/MessageBox239/Cryptonite186

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11186
    • View Profile
Re: Change Create Hyperlink value in progress control programatically
« Reply #1 on: July 06, 2017, 05:53:33 AM »
almost.

If you set the message to start with
[--]
then it will appear as a popup "alert" when the process completes, and won't be a link.
(but also won't appear as the text on the window.)

you could also search the generated source for
loc:url
 to see how you might manipulate that.

cheers
Bruce