Where are the tooltips?

Post Reply
Ollie
Posts: 233
Joined: Sat Dec 30, 2006 6:10 am

Where are the tooltips?

Post by Ollie »

I think tooltips are cool, but I have noticed an absence in FW - am I looking in the wrong place?

(I know about MESSAGE - buts its just not as 'cool')
Many thanks
Ollie.

Using:
xHarbour Compiler build 1.2.1 (SimpLex) (Rev. 6406)
Borland C++ 5.5.1
FWH 9.04 (2009 Apr)
Ollie
Posts: 233
Joined: Sat Dec 30, 2006 6:10 am

Post by Ollie »

But I get a Syntax error:

REDEFINE GET oDBF:TITLE ID 10 OF Dlg_CURR UPDATE ;
TOOLTIP "Enter the Salutation here"
Many thanks
Ollie.

Using:
xHarbour Compiler build 1.2.1 (SimpLex) (Rev. 6406)
Borland C++ 5.5.1
FWH 9.04 (2009 Apr)
Ollie
Posts: 233
Joined: Sat Dec 30, 2006 6:10 am

Post by Ollie »

Thanks for the reply Fernando - But that didn't work either.

I'm not sure what I should be looking for in the FIVEWIN.CH

I assume I'm looking to see if a oGET object has a tooltip property? What am I looking for exactly?
Many thanks
Ollie.

Using:
xHarbour Compiler build 1.2.1 (SimpLex) (Rev. 6406)
Borland C++ 5.5.1
FWH 9.04 (2009 Apr)
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Post by Enrico Maria Giordano »

Code: Select all

REDEFINE GET oGet VAR oDBF:TITLE ID 10 OF Dlg_CURR UPDATE 

oGet:cTooltip := "My Tooltip"
Sources and samples are the best docs.

EMG
Ollie
Posts: 233
Joined: Sat Dec 30, 2006 6:10 am

Post by Ollie »

Thanks EMG. That works, a bit of a schlep though, because now one needs to define oGets, where oDBF was nice as it doesn't need the gets.

Thanks for all the help anyway.

Sources and samples are the best docs.

Say EMG, any chance you can guide me on getting a TABCONTROL to work with resource files. Or and example / sample. Please man. Thanks
Many thanks
Ollie.

Using:
xHarbour Compiler build 1.2.1 (SimpLex) (Rev. 6406)
Borland C++ 5.5.1
FWH 9.04 (2009 Apr)
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Post by Enrico Maria Giordano »

Ollie wrote:Thanks EMG. That works, a bit of a schlep though, because now one needs to define oGets, where oDBF was nice as it doesn't need the gets.
You can also iterate through the controls using the array:

Code: Select all

oDlg:aControls
Ollie wrote:Say EMG, any chance you can guide me on getting a TABCONTROL to work with resource files. Or and example / sample. Please man. Thanks
Are you referring to TFolder class? If yes, just search for all the *.PRG containing the word 'folder'.

EMG
Ollie
Posts: 233
Joined: Sat Dec 30, 2006 6:10 am

Post by Ollie »

I don't think its the TFOLDER class I'm after.

I want to create TABS on thescreen using a resource file (DLL or RC)

Creating a tab from resources

REDEFINE TABS [<oTabs>] ;


[ ID <nId> ] ;

[ OF | WINDOW | DIALOG <oWnd> ] ;

[ PROMPT | PROMPTS | ITEMS <cPrompt,...> ] ;

[ ACTION | EXECUTE <uAction> ] ;

[ COLOR | COLORS <nClrFore> [,<nClrBack>] ] ;

[ OPTION <nOption> ]

Does that make it clearer?
Many thanks
Ollie.

Using:
xHarbour Compiler build 1.2.1 (SimpLex) (Rev. 6406)
Borland C++ 5.5.1
FWH 9.04 (2009 Apr)
Ollie
Posts: 233
Joined: Sat Dec 30, 2006 6:10 am

Post by Ollie »

compiles, but doesn't run - cannot initialize modem
( forced the initialise function to return .t. so that it could work)

I see the REDEFINE TAB COMMAND in the source code, but I can't see what it refers to when I open the RC file with Pelles C

When the app runs, I can't see the Name, phone address section at the bottom of the screen that I can see from Pelles C

What I need to know is - am I supposed to be able to see the TAB Pages in Pelles C (I see it reads as a custom control not a tab control in properties) and can I change it from Pelles C, or must the rest be done in source code. Can I visually design the tab pages or not?
Many thanks
Ollie.

Using:
xHarbour Compiler build 1.2.1 (SimpLex) (Rev. 6406)
Borland C++ 5.5.1
FWH 9.04 (2009 Apr)
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Post by Enrico Maria Giordano »

Ollie wrote:I see the REDEFINE TAB COMMAND in the source code, but I can't see what it refers to when I open the RC file with Pelles C

Code: Select all

CONTROL "", ID_SECTIONS, "TTabs", 0 | WS_CHILD | WS_VISIBLE | WS_BORDER, 5, 216, 149, 14
Ollie wrote:What I need to know is - am I supposed to be able to see the TAB Pages in Pelles C (I see it reads as a custom control not a tab control in properties) and can I change it from Pelles C, or must the rest be done in source code. Can I visually design the tab pages or not?
No, TTabs is a custom control not a standard Windows control.

EMG
Gale FORd
Posts: 663
Joined: Mon Dec 05, 2005 11:22 pm
Location: Houston
Contact:

Post by Gale FORd »

Look at insptest.prg in sample directory.

You cannot visually design folders or tabs in those resource editors.

I prefer folders if there are multiple dialog screens to manipulate.
Post Reply