NetTalk Central

Author Topic: Set popup header text on a form  (Read 3017 times)

Robert Iliuta

  • Sr. Member
  • ****
  • Posts: 472
    • View Profile
    • Email
Set popup header text on a form
« on: April 03, 2011, 11:50:34 PM »
Hallo,


I have some problems how to set header text of a popup form…

I have a browse and the last name in the browse is a link to form.The form is a popup.

In browse setqueuerecord embed I have:

p_web.site.SmallChangeButton.PopupHeader = ‘Change record ‘&clip(MEM:ID)
But this will work only when I press the last name link from browse…. If I press the Change button there is no text in header…

Then I wrote:
p_web.site.ChangeButton.PopupHeader = ‘Change record ‘&clip(MEM:ID)
But the same it’s not working…

How can I make to show text from change button?

Thank you,
Robert

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11247
    • View Profile
Re: Set popup header text on a form
« Reply #1 on: April 04, 2011, 12:13:24 AM »
In version 5.21 I've tweaked things a bit to make the title of a popup a bit easier.

When a form is opened in popup mode, the "Heading" of the form is hidden, and the heading is instead moved into the "title" of the popup. This makes it easier, because there's no "extra" title to worry about. In page mode the heading appears as normal, in popup mode the heading becomes the title. This also saves a bit of space on the popup form, and makes it look a bit neater.

5.21 should be out within the next day or so.

cheers
Bruce

Robert Iliuta

  • Sr. Member
  • ****
  • Posts: 472
    • View Profile
    • Email
Re: Set popup header text on a form
« Reply #2 on: April 04, 2011, 01:43:43 AM »
Thank you Bruce.
I will wait for update.
Robert