FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour How to refresh dialog caption / title ?
Posts: 723
Joined: Tue Sep 04, 2007 08:45 AM
How to refresh dialog caption / title ?
Posted: Tue Dec 03, 2013 11:14 AM
Guys:

I'm displaying a meter in a dialog. The meter is doing some processing and I want to display on the dialog's title: "Updating Record #: " + LTRIM(STR(RECNO()))
I tried via
Code (fw): Select all Collapse
oDlg:caption := "New Text"; oDlg:refresh()
but the meter started all over again (nevertheless it stayed in a loop). Thank you.
Posts: 389
Joined: Mon Oct 13, 2008 11:26 AM
Re: How to refresh dialog caption / title ?
Posted: Tue Dec 03, 2013 11:16 AM

oDlg:SetText(cText)

Email: SamirSSabreu@gmail.com
xHarbour 1.2.3 + Fwhh 20.2
Posts: 723
Joined: Tue Sep 04, 2007 08:45 AM
Re: How to refresh dialog caption / title ?
Posted: Tue Dec 03, 2013 12:44 PM

sambomb:

Thank you very much.

Posts: 389
Joined: Mon Oct 13, 2008 11:26 AM
Re: How to refresh dialog caption / title ?
Posted: Tue Dec 03, 2013 07:18 PM
HunterEC wrote:sambomb:

Thank you very much.

:-)
Email: SamirSSabreu@gmail.com
xHarbour 1.2.3 + Fwhh 20.2

Continue the discussion