NetTalk Central

Author Topic: how to set image of form button in code  (Read 3706 times)

de la Rosa

  • Full Member
  • ***
  • Posts: 128
    • View Profile
    • Email
how to set image of form button in code
« on: November 09, 2015, 05:57:58 PM »
Hi,

What is the proper way to set an image for a button field on a form in GenerateForm embed? The objective is to change the image of the button depending on the value of a field of a file read during the GenerateForm procedure.

Thanks.

 

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11204
    • View Profile
Re: how to set image of form button in code
« Reply #1 on: November 09, 2015, 09:56:55 PM »
Good question Vic. Could you post a small example form showing the fields you are using. This might be a good question to answer in the webinar on Thursday.

cheers
Bruce

de la Rosa

  • Full Member
  • ***
  • Posts: 128
    • View Profile
    • Email
Re: how to set image of form button in code
« Reply #2 on: November 10, 2015, 05:53:57 PM »
Hi Bruce,

Attached is a sample WebServer application (using port 88) that will cycle thru the records of a Sample file, displays text and buttons of the records when applicable.

Thanks,
Vic


[attachment deleted by admin]

de la Rosa

  • Full Member
  • ***
  • Posts: 128
    • View Profile
    • Email
Re: how to set image of form button in code
« Reply #3 on: November 19, 2015, 03:53:40 PM »
Hi Bruce,

Any update on my query?

Thanks,
Vic

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11204
    • View Profile
Re: how to set image of form button in code
« Reply #4 on: November 19, 2015, 09:20:00 PM »
I was planning to cover it in the webinar yesterday, then clean forgot...
I'll see if I can write something up here - or maybe do a special webinar to cover it.

cheers
Bruce


de la Rosa

  • Full Member
  • ***
  • Posts: 128
    • View Profile
    • Email
Re: how to set image of form button in code
« Reply #5 on: November 19, 2015, 09:57:36 PM »
Ok, Bruce, will wait for it. thanks!

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11204
    • View Profile
Re: how to set image of form button in code
« Reply #6 on: December 07, 2015, 11:00:21 PM »

de la Rosa

  • Full Member
  • ***
  • Posts: 128
    • View Profile
    • Email
Re: how to set image of form button in code
« Reply #7 on: December 07, 2015, 11:31:53 PM »
Thanks Bruce!