ANTONIO & DANIEL , FOLDER BUG WAS CORRECTED ?

ANTONIO & DANIEL , FOLDER BUG WAS CORRECTED ?

Postby Silvio » Mon May 17, 2010 10:01 am

WHEN I WANT DISABLE A FOLDER CREATED WITH SOURCE CODE

THIS FOLDER DISABLED NOT CHANGE OF COLOR AS FOLDER CREATED WITH RESOURCES

Code: Select all  Expand view
#Include "Fivewin.ch"


Function Main()

   Local oFrmVds,oFld1,oCbx1 ,nCbx1 :=2
     aProfessione  :={"Giovane","Pensionato","Studente","Esperto","Obiettore","Regionale"}


Define DIALOG oFrmVds TITLE "  - TEST FOLDER- " ;
       FROM 452, 774 to 950, 1539 PIXEL COLOR 0, 14215660

@  50,   3 FOLDER oFld1 Items "&Anagrafica",;
                                 "Dettagl&i",;
                                 "&Alunni",;
                                 "&Notizie mediche",;
                                 "C&orsi effettuati",;
                                 "Al&tri",;
                                 "&Note";
              SIZE 263, 180 PIXEL;
              OF oFrmVds COLOR 0, 14215660


         @   27,  95 SAY "&Tipo :" SIZE  45,   7 PIXEL  OF oFrmVds COLOR 0, 14215660
         @   26,  110 COMBOBOX oCbx1 VAR nCbx1 ITEMS aProfessione SIZE  56,  40 PIXEL OF oFrmVds COLOR 0, 16777215 ;
   BITMAPS { ".\bitmaps\mini\MINI_giovane.bmp",;
             ".\bitmaps\mini\MINI_pensionato.bmp",;
             ".\bitmaps\mini\MINI_studente.bmp",;
             ".\bitmaps\mini\MINI_esperto.bmp",;
             ".\bitmaps\mini\MINI_obiettore.bmp",;
             ".\bitmaps\mini\MINI_regionale.bmp" } ;
              ON CHANGE( iif(oCbx1:nat=1, oFld1:aEnable := { .T., .T., .F., .T., .T., .T., .T.},) ,;
                                iif(oCbx1:nat=2, oFld1:aEnable := { .T., .T., .F., .T., .T., .T., .T.},) ,;
                                iif(oCbx1:nat=3, oFld1:aEnable := { .T., .T., .T., .T., .T., .T., .T.},) ,;
                                iif(oCbx1:nat=4, oFld1:aEnable := { .T., .T., .F., .T., .T., .T., .T.},) ,;
                                iif(oCbx1:nat=5, oFld1:aEnable := { .T., .T., .F., .T., .T., .T., .T.},) ,;
                                iif(oCbx1:nat=6, oFld1:aEnable := { .T., .T., .F., .T., .T., .T., .T.},) ,;
                                )


ACTIVATE DIALOG oFrmVds   RESIZE16 CENTERED
Best Regards, Saludos

Falconi Silvio
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Re: ANTONIO & DANIEL , FOLDER BUG WAS CORRECTED ?

Postby Antonio Linares » Fri Jun 04, 2010 4:02 am

Silvio,

Windows standard folder class ("systabcontrol32") does not allow to paint disabled items on a folder tabs.
regards, saludos

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

Re: ANTONIO & DANIEL , FOLDER BUG WAS CORRECTED ?

Postby Silvio » Fri Jun 04, 2010 7:36 pm

strange!!!
Best Regards, Saludos

Falconi Silvio
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Re: ANTONIO & DANIEL , FOLDER BUG WAS CORRECTED ?

Postby César E. Lozada » Sat Jun 05, 2010 3:55 pm

Hola, Antonio.

Esto lo encontré en la red y quizás pueda ser una forma:

the window that holds the tab control as it is just a window it is called SysTabControl32 and the window can be disabled with a call to enablewindow = false
if blnEnabled = true then
enablewindow(hwndparent2,false)
else
enablewindow(hwndparent2,true);
User avatar
César E. Lozada
 
Posts: 128
Joined: Wed Oct 26, 2005 12:18 pm
Location: Los Teques, Miranda, Venezuela


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 37 guests