FWH Resources Editor - Speed test

Postby Maurilio Viana » 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:
Image

Regards
Maurilio
User avatar
Maurilio Viana
 
Posts: 252
Joined: Tue Oct 25, 2005 2:48 pm
Location: Garça/Garza/Heron City - Brazil

Postby Silvio » 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
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Postby Antonio Linares » Mon Dec 10, 2007 1: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42107
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Antonio Linares » Mon Dec 10, 2007 1:15 pm

Silvio,

We are actually just building and testing an early prototype
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42107
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby CharlesPratt » Mon Dec 10, 2007 2: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
CharlesPratt
 
Posts: 38
Joined: Tue Jan 09, 2007 2:31 am
Location: Winston-Salem, NC

Postby Antonio Linares » Mon Dec 10, 2007 3:37 pm

regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42107
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby CharlesPratt » Mon Dec 10, 2007 6: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
CharlesPratt
 
Posts: 38
Joined: Tue Jan 09, 2007 2:31 am
Location: Winston-Salem, NC

Postby Antonio Linares » Mon Dec 10, 2007 8:10 pm

Charles,

You can already use "SysTabControl32" for folders
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42107
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby CharlesPratt » Mon Dec 10, 2007 8: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
CharlesPratt
 
Posts: 38
Joined: Tue Jan 09, 2007 2:31 am
Location: Winston-Salem, NC

Postby Antonio Linares » Mon Dec 10, 2007 8: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42107
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby CharlesPratt » 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
CharlesPratt
 
Posts: 38
Joined: Tue Jan 09, 2007 2:31 am
Location: Winston-Salem, NC

Postby Antonio Linares » 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
User avatar
Antonio Linares
Site Admin
 
Posts: 42107
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby CharlesPratt » Tue Dec 11, 2007 3:24 am

Antonio -

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

Regards,
Charles
Charles Pratt
CharlesPratt
 
Posts: 38
Joined: Tue Jan 09, 2007 2:31 am
Location: Winston-Salem, NC

Postby Otto » Tue Dec 11, 2007 8: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
User avatar
Otto
 
Posts: 6332
Joined: Fri Oct 07, 2005 7:07 pm

Postby Silvio » 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
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

PreviousNext

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 42 guests