FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour FWH Resources Editor - Speed test
Posts: 252
Joined: Tue Oct 25, 2005 02:48 PM
FWH Resources Editor - Speed test
Posted: Mon Dec 10, 2007 12:17 PM
Antonio,

A suggestion: when the RE project reach design phase will be very if if you display guide lines to align the controls in dialog.
New versions of VB, Delphi, etc do it. When you move a control or object the IDE display align guidelines and tooltip of coordinates.
Below we have examples from Turbo Delphi 2006:


Regards
Maurilio
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM
FWH Resources Editor - Speed test
Posted: Mon Dec 10, 2007 12:54 PM

Antonio,

Do you have corrct Designer forms project to create Visual Forms and save it on rc ?

Best Regards, Saludos



Falconi Silvio
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
FWH Resources Editor - Speed test
Posted: Mon Dec 10, 2007 01:14 PM

Maurilio,

Yes, its very usefull.

Mac OSX "Interface Builder" uses those guide-lines since several years ago

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
FWH Resources Editor - Speed test
Posted: Mon Dec 10, 2007 01:15 PM

Silvio,

We are actually just building and testing an early prototype

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 38
Joined: Tue Jan 09, 2007 02:31 AM
FWH Resources Editor - Speed test
Posted: Mon Dec 10, 2007 02:51 PM

Antonio -
Here is a very simple rc file that shows the problem. The original file has more LTEXTand EDITTEXT as well as a checkbox, but this simplified version shows the problem when I open it with a doubleclick in the re.exe. The string will appear normally if the commas are removed.

testname.rc

TESTNAME DIALOG LOADONCAL MOVEABLE DISCARDABLE 6, 15, 253, 169
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION
CAPTION "Edit Company Phone Numbers"
FONT 8, "MS Sans Serif"
{
LTEXT "Change Company Name, Address, And Phone Numbers", -1, 8, 10, 232, 10
PUSHBUTTON "OK", 10, 12, 144, 50, 14
PUSHBUTTON "Cancel", 2, 101, 144, 50, 14
PUSHBUTTON "Help", 998, 190, 144, 50, 14
}

Charles Pratt
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
FWH Resources Editor - Speed test
Posted: Mon Dec 10, 2007 03:37 PM
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 38
Joined: Tue Jan 09, 2007 02:31 AM
FWH Resources Editor - Speed test
Posted: Mon Dec 10, 2007 06:10 PM

Antonio -
That fixed it! Many thanks. This project is moving along very nicely. Will you be adding TFOLDER support soon?

Best regards,
Charles

Charles Pratt
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
FWH Resources Editor - Speed test
Posted: Mon Dec 10, 2007 08:10 PM

Charles,

You can already use "SysTabControl32" for folders

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 38
Joined: Tue Jan 09, 2007 02:31 AM
FWH Resources Editor - Speed test
Posted: Mon Dec 10, 2007 08:43 PM

Antonio -

I do use SysTabControl32 but I get a message that TCS_MULTILINE style is not found. Can you add that to the style list?

Regards,
Charles

Charles Pratt
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
FWH Resources Editor - Speed test
Posted: Mon Dec 10, 2007 08:48 PM

Charles,

Even if the style TCS_MULTILINE is not implemented yet, the SysTabControl32 control should be shown

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 38
Joined: Tue Jan 09, 2007 02:31 AM
FWH Resources Editor - Speed test
Posted: Mon Dec 10, 2007 10:02 PM

Antonio -

OK, I can be patient.

I have another question, though. My folder pages are all individual dialogs and do not have SYS_MENU on them, nor a button with ID 1 or 2. As a result I can't close these dialogs in RE.EXE so I hit Ctrl. Alt, Del and close the editor. I suppose at some point you will need some sort of button outside the dialog to close them?

Regards,

Charles

Charles Pratt
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
FWH Resources Editor - Speed test
Posted: Mon Dec 10, 2007 10:38 PM

Charles,

You can press Esc to close them.

Anyhow, the idea is to use a reasizable border with a close button on it too

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 38
Joined: Tue Jan 09, 2007 02:31 AM
FWH Resources Editor - Speed test
Posted: Tue Dec 11, 2007 03:24 AM

Antonio -

Thanks. If the esc works, that's all I should need.

Regards,
Charles

Charles Pratt
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
FWH Resources Editor - Speed test
Posted: Tue Dec 11, 2007 08:58 AM

Hello Antonio,
Could you please test with this rc-file.
This does not work here.
Regards,
Otto

ABREISE DIALOG 18, 18, 142, 70
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Abreiseliste"
BEGIN
CONTROL "", 101, "EDIT", ES_LEFT | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_VSCROLL | WS_TABSTOP, 72, 15, 54, 12
LTEXT "Abreisetag", 102, 16, 17, 50, 10
DEFPUSHBUTTON " Speichern", 1, 75, 44, 55, 20
PUSHBUTTON " Abbruch", 2, 11, 44, 55, 20
END

ANKUNFT DIALOG 18, 18, 142, 92
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Ankunftsliste"
BEGIN
LTEXT "Ankunftstag", 102, 22, 15, 65, 10
CONTROL "", 101, "EDIT", ES_LEFT | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_VSCROLL | WS_TABSTOP, 70, 15, 54, 12
DEFPUSHBUTTON " Speichern", 1, 75, 57, 55, 20
PUSHBUTTON " Abbruch", 2, 11, 57, 55, 20
END

ARTEIN DIALOG 18, 18, 162, 110
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Artikel - Nr."
BEGIN
EDITTEXT 101, 73, 23, 57, 12
CONTROL "", 103, "EDIT", ES_LEFT | ES_NOHIDESEL | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, 75, 49, 20, 12
CONTROL "", 106, "EDIT", ES_LEFT | ES_NOHIDESEL | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, 75, 62, 55, 12
PUSHBUTTON "...", 109, 134, 25, 9, 9
LTEXT "Eingabe Artikel-Nr.", 102, 5, 25, 65, 10
LTEXT "Menge", 104, 5, 51, 25, 8
LTEXT "Preis", 107, 5, 64, 25, 8
EDITTEXT 105, 5, 36, 125, 12
DEFPUSHBUTTON " Speichern", 1, 85, 86, 55, 20
PUSHBUTTON " Abbruch", 2, 21, 86, 55, 20
END

Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM
FWH Resources Editor - Speed test
Posted: Tue Dec 11, 2007 11:41 AM

Antonio,
This is very interesting...
How I can contribute for it ?
Can i help YOU ?

Best Regards, Saludos



Falconi Silvio