TFolder in RC-files

Post Reply
User avatar
driessen
Posts: 1239
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

TFolder in RC-files

Post by driessen »

Hello,

I was told by Antonio that I needed to replace "TFolder" by "SysTabControl32" in my RC-files.

I did so but what happens now ?

In one dialogbox, the folder appears OK, but it another one, the folder don't appear at all. All I see is a big dark gray zone.

Anyone any idea what can be wrong ?

Thank you in advance.

Michel
Regards,

Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 21.01 - Harbour 3.2.0 (October 2020) - xHarbour Builder (January 2020) - Bcc7
User avatar
Jeff Barnes
Posts: 912
Joined: Sun Oct 09, 2005 1:05 pm
Location: Ontario, Canada
Contact:

Post by Jeff Barnes »

Could yo uplease supply a code sample?

Thanks,
Jeff
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Michel,

Please post the portion of the RC for that dialog, thanks
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
driessen
Posts: 1239
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Post by driessen »

Hello guys,

Here is a part of my RC-file :

---------------------------------------------------

1_BG_DOSSIER11 DIALOG LOADONCALL MOVEABLE DISCARDABLE 13, 15, 424, 340
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_THICKFRAME | WS_MINIMIZEBOX | WS_MAXIMIZEBOX
CLASS "BorDlg_Gray"
CAPTION "Basisgegevens van het dossier"
FONT 8, "MS Sans Serif"
{
CONTROL "", -1, "BorShade", 32769 | WS_CHILD | WS_VISIBLE, 3, 18, 418, 121
CONTROL "", -1, "BorShade", 32769 | WS_CHILD | WS_VISIBLE, 3, 141, 418, 16
CONTROL "", -1, "BorShade", 32769 | WS_CHILD | WS_VISIBLE, 3, 159, 179, 33
CONTROL "", -1, "BorShade", 32769 | WS_CHILD | WS_VISIBLE, 3, 194, 351, 16
CONTROL "", -1, "BorShade", 32769 | WS_CHILD | WS_VISIBLE, 3, 212, 351, 16
CONTROL "", -1, "BorShade", 32769 | WS_CHILD | WS_VISIBLE, 3, 283, 418, 25
CONTROL "", -1, "BorShade", 2 | WS_CHILD | WS_VISIBLE, 3, 292, 418, 2
CONTROL "", -1, "BorShade", 3 | WS_CHILD | WS_VISIBLE, 35, 283, 2, 25
CONTROL "", -1, "BorShade", 3 | WS_CHILD | WS_VISIBLE, 87, 283, 2, 25
CONTROL "", -1, "BorShade", 3 | WS_CHILD | WS_VISIBLE, 139, 283, 2, 25
CONTROL "", -1, "BorShade", 32769 | WS_CHILD | WS_VISIBLE, 184, 159, 70, 15
CONTROL "", -1, "BorShade", 32769 | WS_CHILD | WS_VISIBLE, 184, 176, 237, 16
CONTROL "", -1, "BorShade", 3 | WS_CHILD | WS_VISIBLE, 191, 283, 2, 25
CONTROL "", -1, "BorShade", 3 | WS_CHILD | WS_VISIBLE, 243, 283, 2, 25
CONTROL "", -1, "BorShade", 32769 | WS_CHILD | WS_VISIBLE, 256, 159, 165, 15
CONTROL "", -1, "BorShade", 3 | WS_CHILD | WS_VISIBLE, 295, 283, 2, 25
CONTROL "", -1, "BorShade", 3 | WS_CHILD | WS_VISIBLE, 348, 283, 2, 25
CONTROL "", -1, "BorShade", 32769 | WS_CHILD | WS_VISIBLE, 356, 194, 65, 15
CONTROL "", -1, "BorShade", 32769 | WS_CHILD | WS_VISIBLE, 356, 212, 65, 40
CONTROL "", -1, "BorShade", 32769 | WS_CHILD | WS_VISIBLE, 356, 253, 65, 28
CONTROL "PRESTATIES EN AGENDAPUNTEN", -1, "BorShade", 32769 | WS_CHILD | WS_VISIBLE, 3, 230, 151, 51
CONTROL "MEMO", -1, "BorShade", 32769 | WS_CHILD | WS_VISIBLE, 156, 230, 198, 51
RTEXT "Dossiernr.", -1, 4, 5, 32, 8
RTEXT "sub.", -1, 90, 5, 15, 8
RTEXT "Creatiedatum", -1, 136, 5, 46, 8
RTEXT "Archiefnr.", -1, 251, 5, 32, 8
LTEXT "datum", -1, 343, 5, 20, 8
RTEXT "Dossiernaam", -1, 6, 145, 44, 8
CTEXT "/c", -1, 169, 145, 10, 8
CTEXT "/i", -1, 295, 145, 10, 8
RTEXT "Dossierbeheerder", -1, 5, 164, 67, 8
RTEXT "Dossierbehandelaar", -1, 4, 179, 68, 8
RTEXT "Kleurcode dossier", -1, 257, 163, 63, 8
RTEXT "Alternatief uurtarief ereloon", -1, 185, 180, 89, 8
RTEXT "% voor kosten", -1, 332, 180, 48, 8
LTEXT "%", -1, 409, 180, 11, 8
RTEXT "Agenda en documenten toewijzen aan :", -1, 4, 198, 125, 8
RTEXT "Advocaten", -1, 128, 198, 40, 8
RTEXT "Secretariaat", -1, 239, 198, 43, 8
RTEXT "Algemene omschrijving/procedure in dit dossier", -1, 4, 216, 154, 8
RTEXT "Laatst uitgev. prestatie", -1, 5, 243, 87, 8
RTEXT "Laatst uitgev. agendapunt", -1, 5, 256, 87, 8
RTEXT "Eerstvolgend agendapunt", -1, 4, 269, 88, 8
CTEXT "Saldi in", -1, 5, 284, 30, 8
CTEXT "Inkom. rek.", -1, 39, 284, 45, 8
CTEXT "Gevraagd", -1, 91, 284, 45, 8
CTEXT "Erelonen", -1, 143, 284, 45, 8
CTEXT "Provisies", -1, 196, 284, 45, 8
CTEXT "Derd.gelden", -1, 248, 284, 45, 8
CTEXT "Doss.kosten", -1, 300, 284, 45, 8
CTEXT "Datum laatste betal.", -1, 350, 284, 70, 8
EDITTEXT 101, 38, 3, 24, 12, ES_CENTER | ES_AUTOHSCROLL | WS_BORDER | WS_TABSTOP
CTEXT "/", -1, 64, 5, 3, 8
EDITTEXT 102, 68, 3, 21, 12, ES_CENTER | ES_AUTOHSCROLL | WS_BORDER | WS_TABSTOP
EDITTEXT 103, 106, 3, 6, 12, ES_CENTER | ES_AUTOHSCROLL | WS_BORDER | WS_TABSTOP
CTEXT "/", -1, 114, 5, 3, 8
EDITTEXT 104, 118, 3, 6, 12, ES_CENTER | ES_AUTOHSCROLL | WS_BORDER | WS_TABSTOP
EDITTEXT 105, 200, 3, 40, 12, ES_CENTER | WS_BORDER | WS_TABSTOP
EDITTEXT 106, 184, 3, 15, 12, ES_CENTER | NOT WS_TABSTOP | WS_BORDER
EDITTEXT 107, 285, 3, 24, 12, ES_CENTER | ES_AUTOHSCROLL | WS_BORDER | WS_TABSTOP
CTEXT "/", -1, 311, 5, 3, 8
EDITTEXT 108, 315, 3, 21, 12, ES_CENTER | ES_AUTOHSCROLL | WS_BORDER | WS_TABSTOP
EDITTEXT 109, 381, 3, 40, 12, ES_CENTER | WS_BORDER | WS_TABSTOP
EDITTEXT 110, 365, 3, 15, 12, ES_CENTER | WS_BORDER | WS_TABSTOP
CONTROL "", 111, "SysTabControl32", 0 | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 7, 22, 410, 113
EDITTEXT 114, 52, 143, 117, 12, ES_AUTOHSCROLL | WS_BORDER | WS_TABSTOP
EDITTEXT 115, 180, 143, 115, 12, ES_AUTOHSCROLL | WS_BORDER | WS_TABSTOP
EDITTEXT 116, 305, 143, 113, 12, ES_AUTOHSCROLL | WS_BORDER | WS_TABSTOP
EDITTEXT 117, 74, 162, 95, 12, ES_AUTOHSCROLL | WS_BORDER | WS_TABSTOP
CONTROL "", 600, "BorBtn", 0 | WS_CHILD | WS_VISIBLE, 169, 162, 11, 12
EDITTEXT 118, 74, 177, 95, 12, ES_AUTOHSCROLL | WS_BORDER | WS_TABSTOP
CONTROL "", 601, "BorBtn", 0 | WS_CHILD | WS_VISIBLE, 169, 177, 11, 12
CHECKBOX "Ei&gen dossier", 120, 192, 161, 55, 12, BS_AUTOCHECKBOX | NOT WS_TABSTOP
COMBOBOX 121, 322, 161, 96, 136, CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | WS_TABSTOP
EDITTEXT 122, 277, 178, 34, 12, ES_RIGHT | ES_AUTOHSCROLL | WS_BORDER | WS_TABSTOP
EDITTEXT 123, 312, 178, 18, 12, ES_CENTER | ES_AUTOHSCROLL | WS_BORDER | WS_TABSTOP
EDITTEXT 124, 382, 178, 25, 12
COMBOBOX 125, 170, 196, 68, 60, CBS_DROPDOWNLIST | WS_TABSTOP
COMBOBOX 126, 284, 196, 68, 60, CBS_DROPDOWNLIST | WS_TABSTOP
CHECKBOX "Dossier&boekh.", 127, 361, 195, 58, 13, BS_AUTOCHECKBOX | NOT WS_TABSTOP
EDITTEXT 128, 161, 214, 180, 12, ES_AUTOHSCROLL | WS_BORDER | WS_TABSTOP
CONTROL "", 603, "BorBtn", 0 | WS_CHILD | WS_VISIBLE, 341, 214, 11, 12
EDITTEXT 129, 110, 241, 40, 12, ES_CENTER | WS_BORDER | WS_TABSTOP
EDITTEXT 130, 94, 241, 15, 12, ES_CENTER | WS_BORDER | WS_TABSTOP
EDITTEXT 131, 110, 254, 40, 12, ES_CENTER | WS_BORDER | WS_TABSTOP
EDITTEXT 132, 94, 254, 15, 12, ES_CENTER | WS_BORDER | WS_TABSTOP
EDITTEXT 133, 110, 267, 40, 12, ES_CENTER | WS_BORDER | WS_TABSTOP
EDITTEXT 134, 94, 267, 15, 12, ES_CENTER | WS_BORDER | WS_TABSTOP
EDITTEXT 135, 159, 242, 192, 36, ES_MULTILINE | ES_AUTOVSCROLL | ES_WANTRETURN | WS_BORDER | WS_VSCROLL | WS_TABSTOP
EDITTEXT 136, 10, 294, 20, 12, ES_CENTER | NOT WS_TABSTOP | WS_BORDER
EDITTEXT 137, 39, 294, 45, 12, ES_RIGHT | NOT WS_TABSTOP | WS_BORDER
EDITTEXT 138, 91, 294, 45, 12, ES_RIGHT | NOT WS_TABSTOP | WS_BORDER
EDITTEXT 139, 143, 294, 45, 12, ES_RIGHT | NOT WS_TABSTOP | WS_BORDER
EDITTEXT 140, 195, 294, 45, 12, ES_RIGHT | NOT WS_TABSTOP | WS_BORDER
EDITTEXT 141, 247, 294, 45, 12, ES_RIGHT | NOT WS_TABSTOP | WS_BORDER
EDITTEXT 142, 299, 294, 45, 12, ES_RIGHT | NOT WS_TABSTOP | WS_BORDER
EDITTEXT 143, 373, 294, 40, 12, ES_CENTER | NOT WS_TABSTOP | WS_BORDER
EDITTEXT 144, 357, 294, 15, 12, ES_CENTER | NOT WS_TABSTOP | WS_BORDER
CONTROL "", -1, "BorShade", 2 | WS_CHILD | WS_VISIBLE, -7, 312, 437, 2
PUSHBUTTON "&Opslaan", 901, 3, 320, 40, 14, NOT WS_TABSTOP
PUSHBUTTON "&Einde", 902, 48, 320, 30, 14, NOT WS_TABSTOP
PUSHBUTTON "Op&slaan en activeren", 903, 83, 320, 80, 14, NOT WS_TABSTOP
PUSHBUTTON "&Activeren", 904, 168, 320, 45, 14, NOT WS_TABSTOP
PUSHBUTTON "Afdru&k inlegblad", 905, 218, 320, 60, 14, NOT WS_TABSTOP
PUSHBUTTON "&Vindplaats dossier", 906, 283, 320, 75, 14, NOT WS_TABSTOP
PUSHBUTTON "&Dossieragenda", 907, 358, 215, 60, 10, NOT WS_TABSTOP
PUSHBUTTON "&Financiële fiche", 908, 358, 227, 60, 10, NOT WS_TABSTOP
PUSHBUTTON "&Prestatiefiche", 909, 358, 239, 60, 10, NOT WS_TABSTOP
PUSHBUTTON "Ar&chiveren", 910, 358, 256, 60, 10, NOT WS_TABSTOP
PUSHBUTTON "&Uit archief halen", 911, 358, 268, 60, 10, NOT WS_TABSTOP
PUSHBUTTON "&Q - Paswoord toekennen", 912, -3, 346, 97, 14, NOT WS_TABSTOP
CONTROL "", 650, "BorBtn", 0 | WS_CHILD | WS_VISIBLE | WS_BORDER, 365, 319, 15, 17
CONTROL "", 651, "BorBtn", 0 | WS_CHILD | WS_VISIBLE | WS_BORDER, 385, 319, 15, 17
CONTROL "", 652, "BorBtn", 0 | WS_CHILD | WS_VISIBLE | WS_BORDER, 405, 319, 15, 17
}

---------------------------------------------------

Thanks.

Michel
Regards,

Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 21.01 - Harbour 3.2.0 (October 2020) - xHarbour Builder (January 2020) - Bcc7
User avatar
driessen
Posts: 1239
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Post by driessen »

And this is the part of my RC-file which defines the folders :

-----------------------------------------------

1_BG_DOSPART1 DIALOG LOADONCALL MOVEABLE DISCARDABLE 19, 30, 408, 98
STYLE WS_CHILD
FONT 8, "MS Sans Serif"
{
CONTROL "", -1, "BorShade", 32769 | WS_CHILD | WS_VISIBLE, 329, 5, 76, 12
CONTROL "", 112, "TWBrowse", 0 | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_VSCROLL | WS_TABSTOP, 4, 5, 322, 88
EDITTEXT 113, 383, 81, 16, 12, ES_CENTER | NOT WS_TABSTOP | WS_BORDER
CTEXT "", 401, 332, 7, 70, 8, SS_CENTER | NOT WS_GROUP
RTEXT "", 402, 331, 83, 50, 8, SS_RIGHT | NOT WS_GROUP
PUSHBUTTON "Bijvoegen (Insert)", 920, 329, 20, 76, 13, NOT WS_TABSTOP
PUSHBUTTON "Schrappen (Delete)", 921, 329, 35, 76, 13, NOT WS_TABSTOP
DEFPUSHBUTTON "Dossiergegevens (F3)", 922, 329, 50, 76, 13, BS_DEFPUSHBUTTON | NOT WS_TABSTOP
PUSHBUTTON "Basisgegevens (F4)", 923, 329, 65, 76, 13, NOT WS_TABSTOP
}

-----------------------------------------------

Thanks.

Michel
Regards,

Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 21.01 - Harbour 3.2.0 (October 2020) - xHarbour Builder (January 2020) - Bcc7
User avatar
driessen
Posts: 1239
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Post by driessen »

This is an example where everything is working fine :

-------------------------------------------

3_BEHAGENDA1 DIALOG LOADONCALL MOVEABLE DISCARDABLE 16, 26, 544, 366
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_THICKFRAME | WS_MINIMIZEBOX | WS_MAXIMIZEBOX
CLASS "BorDlg_Gray"
CAPTION "Beheer van de kantoor- en procedureagenda"
FONT 6, "Arial"
{
CONTROL "", -1, "BorShade", 32769 | WS_CHILD | WS_VISIBLE, 5, 31, 108, 22
CONTROL "", -1, "BorShade", 32769 | WS_CHILD | WS_VISIBLE, 117, 31, 109, 22
CONTROL "", -1, "BorShade", 32769 | WS_CHILD | WS_VISIBLE, 76, 4, 462, 22
CONTROL "", -1, "BorShade", 32769 | WS_CHILD | WS_VISIBLE, 230, 31, 72, 22
CONTROL "", -1, "BorShade", 32769 | WS_CHILD | WS_VISIBLE, 306, 31, 75, 22
CONTROL "", -1, "BorShade", 32769 | WS_CHILD | WS_VISIBLE, 385, 31, 81, 22
CONTROL "", -1, "BorShade", 32769 | WS_CHILD | WS_VISIBLE, 471, 31, 68, 22
CTEXT "-", -1, 131, 10, 7, 8
CTEXT "/c", -1, 267, 11, 10, 8
CTEXT "/i", -1, 406, 11, 10, 8
CTEXT "1 dag", -1, 266, 38, 35, 10
CTEXT "1 week", -1, 342, 38, 38, 10
CTEXT "1 maand", -1, 421, 38, 43, 10
EDITTEXT 102, 121, 36, 101, 12, ES_CENTER | WS_BORDER | WS_TABSTOP
CONTROL "", 700, "BorBtn", 0 | WS_CHILD | WS_VISIBLE, 235, 36, 13, 13
CONTROL "", 701, "BorBtn", 0 | WS_CHILD | WS_VISIBLE, 252, 36, 13, 13
CONTROL "", 702, "BorBtn", 0 | WS_CHILD | WS_VISIBLE, 311, 36, 13, 13
CONTROL "", 703, "BorBtn", 0 | WS_CHILD | WS_VISIBLE, 328, 36, 13, 13
CONTROL "", 704, "BorBtn", 0 | WS_CHILD | WS_VISIBLE, 390, 36, 13, 13
CONTROL "", 705, "BorBtn", 0 | WS_CHILD | WS_VISIBLE, 407, 36, 13, 13
CONTROL "", 103, "SysTabControl32", 0 | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 5, 59, 533, 280
EDITTEXT 105, 81, 9, 49, 12, ES_CENTER | WS_BORDER | WS_TABSTOP
EDITTEXT 106, 138, 9, 128, 12, NOT WS_TABSTOP | WS_BORDER
EDITTEXT 107, 277, 9, 128, 12, NOT WS_TABSTOP | WS_BORDER
EDITTEXT 108, 417, 9, 116, 12, NOT WS_TABSTOP | WS_BORDER
CHECKBOX "&Punten achter elkaar tonen", 111, 318, 348, 105, 12, BS_AUTOCHECKBOX | NOT WS_TABSTOP
PUSHBUTTON "&Toevoegen", 901, 11, 346, 50, 14, NOT WS_TABSTOP
DEFPUSHBUTTON "&Wijzigen", 902, 66, 346, 50, 14, BS_DEFPUSHBUTTON | NOT WS_TABSTOP
PUSHBUTTON "&Uitgevoerd", 903, 121, 346, 50, 14, NOT WS_TABSTOP
PUSHBUTTON "Dossier &activeren", 904, 176, 346, 65, 14, NOT WS_TABSTOP
PUSHBUTTON "Agenda&rapport", 905, 246, 346, 60, 14, NOT WS_TABSTOP
PUSHBUTTON "&Schrappen", 906, 426, 346, 50, 14, NOT WS_TABSTOP
PUSHBUTTON "&Einde", 907, 483, 346, 50, 14, NOT WS_TABSTOP
PUSHBUTTON "A&gendadatum wijzigen", 908, 9, 35, 100, 14, NOT WS_TABSTOP
PUSHBUTTON "&Vandaag", 909, 475, 35, 59, 14, NOT WS_TABSTOP
PUSHBUTTON "in &Hoofding vermelden", 914, 552, 351, 90, 14
CONTROL "", 650, "BorBtn", 0 | WS_CHILD | WS_VISIBLE | WS_BORDER, 2, 3, 23, 23
CONTROL "", 651, "BorBtn", 0 | WS_CHILD | WS_VISIBLE | WS_BORDER, 26, 3, 23, 23
CONTROL "", 652, "BorBtn", 0 | WS_CHILD | WS_VISIBLE | WS_BORDER, 50, 3, 23, 23
}

-------------------------------------------

Thanks.

Michel
Regards,

Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 21.01 - Harbour 3.2.0 (October 2020) - xHarbour Builder (January 2020) - Bcc7
User avatar
driessen
Posts: 1239
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Post by driessen »

And the definition of the folder which is working fine.

------------------------------------------------

3_BEHAGENDA3 DIALOG LOADONCALL MOVEABLE DISCARDABLE 20, 83, 530, 265
STYLE WS_CHILD
FONT 6, "Arial"
{
RTEXT "Dubbelklik op de kolom ""Uitv."" om de uitvoerder te wijzigen", -1, 302, 3, 220, 8
CONTROL "", 104, "TWBrowse", 0 | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_VSCROLL | WS_TABSTOP, 5, 13, 520, 237
PUSHBUTTON "&Dossiergegevens", 910, 5, 251, 124, 12, NOT WS_TABSTOP
PUSHBUTTON "D&ossieragenda", 911, 137, 251, 124, 12, NOT WS_TABSTOP
PUSHBUTTON "Doss&ierprestaties", 912, 269, 251, 124, 12, NOT WS_TABSTOP
PUSHBUTTON "&Financiële fiche", 913, 401, 251, 124, 12, NOT WS_TABSTOP
}

------------------------------------------------

Thanks.

Michel
Regards,

Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 21.01 - Harbour 3.2.0 (October 2020) - xHarbour Builder (January 2020) - Bcc7
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Michel,

Please post a screenshot of 1_BG_DOSSIER11 running in 16 bits and in 32 bits, thanks. Please use www.imageshack.us to post the images and copy here the urls
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
driessen
Posts: 1239
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Post by driessen »

Here are the screenshots :

Working folder in FW16 : Image

NOT working folder in FW32 : Image

Working folder in FW16 and in FW32 : Image

Thanks.

Michel
Regards,

Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 21.01 - Harbour 3.2.0 (October 2020) - xHarbour Builder (January 2020) - Bcc7
Post Reply