In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.

Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.

Some questions

Xailer professional forum in English
Giuseppe Bogetti
Mensajes: 281
Registrado: Vie Ago 04, 2006 4:58 pm

Some questions

Mensaje por Giuseppe Bogetti »

Hi,
some problems with I was not able to bypass.
1) As you see in the attached image I defined a status bar with four
panels. When I select the main menu of application and move through
the items the first panel is expanded to occupy entire width of window.
Is it standard behaviour ? Can it be changed ?
2) I'm trying to use the zip library but when I open project settings and
select the library the button to add a new library is disabled.
Is there a workaround for this ? Something I can change in project file?
3) The attached project is a small utility to backup files or folders. In
the main window there's an array browser with three columns. Now when in
the IDE I click on the second column the third is automatically selected
If i click on third column IDE exit without warnings or errors.
Also when I open project in IDE file TBackup.prg is immediatly marked as
modified (caption red)
BTW I would like to say that Xailer is a really fast IDE and productive
environment. Keep up the excellent work !!!
--
Best regards,
Giuseppe Bogetti
B.G. Soft
Cuneo - Italy
--
Avatar de Usuario
jfgimenez
Site Admin
Mensajes: 5706
Registrado: Lun Abr 06, 2015 8:48 pm
Contactar:

Some questions

Mensaje por jfgimenez »

Guiseppe,
> 1) As you see in the attached image I defined a status bar with four
> panels. When I select the main menu of application and move through
> the items the first panel is expanded to occupy entire width of window.
> Is it standard behaviour ? Can it be changed ?
Yes, it's the standard windows behaviour. When the main menu is opened, the
entire status bar is cleared, and a message (one for each menu item) is
shown on it.
You can see it in other programs, i.e. Outlook Express or Internet Explorer.
BTW, you can use the clause MESSAGE in the MENUITEM command to define the
message that will be shown. I.e:
MENUITEM "Test" MESSAGE "This is a test" ACTION ...
> 2) I'm trying to use the zip library but when I open project settings and
> select the library the button to add a new library is disabled.
> Is there a workaround for this ? Something I can change in project file?
That option is not finished yet, but you can add the lib using the option
"Progetto" -> "Aggiungi file al progetto.." like any other file.
> 3) The attached project is a small utility to backup files or folders. In
> the main window there's an array browser with three columns. Now when in
> the IDE I click on the second column the third is automatically selected
> If i click on third column IDE exit without warnings or errors.
> Also when I open project in IDE file TBackup.prg is immediatly marked as
> modified (caption red)
I'm going to review it.
> BTW I would like to say that Xailer is a really fast IDE and productive
> environment. Keep up the excellent work !!!
Thanks for your kind words. And thanks for using Xailer!
--
Regards,
Jose F. Gimenez
José F. Giménez
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
Avatar de Usuario
jfgimenez
Site Admin
Mensajes: 5706
Registrado: Lun Abr 06, 2015 8:48 pm
Contactar:

Some questions

Mensaje por jfgimenez »

Guiseppe,
> 1) As you see in the attached image I defined a status bar with four
> panels. When I select the main menu of application and move through
> the items the first panel is expanded to occupy entire width of window.
> Is it standard behaviour ? Can it be changed ?
Yes, it's the standard windows behaviour. When the main menu is opened, the
entire status bar is cleared, and a message (one for each menu item) is
shown on it.
You can see it in other programs, i.e. Outlook Express or Internet Explorer.
BTW, you can use the clause MESSAGE in the MENUITEM command to define the
message that will be shown. I.e:
MENUITEM "Test" MESSAGE "This is a test" ACTION ...
> 2) I'm trying to use the zip library but when I open project settings and
> select the library the button to add a new library is disabled.
> Is there a workaround for this ? Something I can change in project file?
That option is not finished yet, but you can add the lib using the option
"Progetto" -> "Aggiungi file al progetto.." like any other file.
> 3) The attached project is a small utility to backup files or folders. In
> the main window there's an array browser with three columns. Now when in
> the IDE I click on the second column the third is automatically selected
> If i click on third column IDE exit without warnings or errors.
> Also when I open project in IDE file TBackup.prg is immediatly marked as
> modified (caption red)
I'm going to review it.
> BTW I would like to say that Xailer is a really fast IDE and productive
> environment. Keep up the excellent work !!!
Thanks for your kind words. And thanks for using Xailer!
--
Regards,
Jose F. Gimenez
José F. Giménez
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
Avatar de Usuario
jfgimenez
Site Admin
Mensajes: 5706
Registrado: Lun Abr 06, 2015 8:48 pm
Contactar:

Some questions

Mensaje por jfgimenez »

Guiseppe,
> 3) The attached project is a small utility to backup files or folders. In
> the main window there's an array browser with three columns. Now when in
> the IDE I click on the second column the third is automatically selected
> If i click on third column IDE exit without warnings or errors.
I've just tested it and I can click all three columns without any problem.
It's possible it has been fixed recently.
Please, download http://www.xailer.com/files/xailerprerelease2.exe and try
again. This is not an official "Pre-release 2"; it's just a build that we've
used in the recent course at Madrid. We'll publish the true "Pre-release 2"
ASAP.
> Also when I open project in IDE file TBackup.prg is immediatly marked as
> modified (caption red)
Yes, there is a bug caused by the rebar control. It's not finished yet, and
cause this undesired effect in the IDE.
--
Regards,
Jose F. Gimenez
José F. Giménez
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
Avatar de Usuario
jfgimenez
Site Admin
Mensajes: 5706
Registrado: Lun Abr 06, 2015 8:48 pm
Contactar:

Some questions

Mensaje por jfgimenez »

Guiseppe,
> 3) The attached project is a small utility to backup files or folders. In
> the main window there's an array browser with three columns. Now when in
> the IDE I click on the second column the third is automatically selected
> If i click on third column IDE exit without warnings or errors.
I've just tested it and I can click all three columns without any problem.
It's possible it has been fixed recently.
Please, download http://www.xailer.com/files/xailerprerelease2.exe and try
again. This is not an official "Pre-release 2"; it's just a build that we've
used in the recent course at Madrid. We'll publish the true "Pre-release 2"
ASAP.
> Also when I open project in IDE file TBackup.prg is immediatly marked as
> modified (caption red)
Yes, there is a bug caused by the rebar control. It's not finished yet, and
cause this undesired effect in the IDE.
--
Regards,
Jose F. Gimenez
José F. Giménez
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
Giuseppe Bogetti
Mensajes: 281
Registrado: Vie Ago 04, 2006 4:58 pm

Some questions

Mensaje por Giuseppe Bogetti »

In data Thu, 3 Mar 2005 20:46:35 +0100, Jose F. Gimenez ha scritto:
Jose,
>
> I've just tested it and I can click all three columns without any problem.
> It's possible it has been fixed recently.
Yes it is. Now is working fine
--
Best regards,
Giuseppe Bogetti
B.G. Soft
Cuneo - Italy
Giuseppe Bogetti
Mensajes: 281
Registrado: Vie Ago 04, 2006 4:58 pm

Some questions

Mensaje por Giuseppe Bogetti »

In data Thu, 3 Mar 2005 20:46:35 +0100, Jose F. Gimenez ha scritto:
Jose,
>
> I've just tested it and I can click all three columns without any problem.
> It's possible it has been fixed recently.
Yes it is. Now is working fine
--
Best regards,
Giuseppe Bogetti
B.G. Soft
Cuneo - Italy
Giuseppe Bogetti
Mensajes: 281
Registrado: Vie Ago 04, 2006 4:58 pm

Some questions

Mensaje por Giuseppe Bogetti »

In data Thu, 3 Mar 2005 20:46:35 +0100, Jose F. Gimenez ha scritto:
Jose,
I forgot to ask you one more thing.
How can I check if a control has focus ?
I wasn't able to find it in the docs.
--
Best regards,
Giuseppe Bogetti
B.G. Soft
Cuneo - Italy
Giuseppe Bogetti
Mensajes: 281
Registrado: Vie Ago 04, 2006 4:58 pm

Some questions

Mensaje por Giuseppe Bogetti »

In data Thu, 3 Mar 2005 20:46:35 +0100, Jose F. Gimenez ha scritto:
Jose,
I forgot to ask you one more thing.
How can I check if a control has focus ?
I wasn't able to find it in the docs.
--
Best regards,
Giuseppe Bogetti
B.G. Soft
Cuneo - Italy
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9253
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

Some questions

Mensaje por ignacio »

Gisuseppe,
lFocused
Regards,
"Giuseppe Bogetti" <bgsoft@tiscali.it> escribió en el mensaje
news:1bi34s36xycju$[email=.1x9rzkjjnrh1z.dlg@40tude.net...].1x9rzkjjnrh1z.dlg@40tude.net...[/email]
> In data Thu, 3 Mar 2005 20:46:35 +0100, Jose F. Gimenez ha scritto:
>
> Jose,
>
> I forgot to ask you one more thing.
>
> How can I check if a control has focus ?
> I wasn't able to find it in the docs.
>
> --
> Best regards,
>
> Giuseppe Bogetti
> B.G. Soft
> Cuneo - Italy
Ignacio Ortiz de Zúñiga
[Equipo de Xailer / Xailer team]
https://www.xailer.com
InvalidAccount
Mensajes: 53
Registrado: Vie Mar 04, 2005 9:58 am

Some questions

Mensaje por InvalidAccount »

Gisuseppe,
lFocused
Regards,
"Giuseppe Bogetti" <bgsoft@tiscali.it> escribió en el mensaje
news:1bi34s36xycju$[email=.1x9rzkjjnrh1z.dlg@40tude.net...].1x9rzkjjnrh1z.dlg@40tude.net...[/email]
> In data Thu, 3 Mar 2005 20:46:35 +0100, Jose F. Gimenez ha scritto:
>
> Jose,
>
> I forgot to ask you one more thing.
>
> How can I check if a control has focus ?
> I wasn't able to find it in the docs.
>
> --
> Best regards,
>
> Giuseppe Bogetti
> B.G. Soft
> Cuneo - Italy
Giuseppe Bogetti
Mensajes: 281
Registrado: Vie Ago 04, 2006 4:58 pm

Some questions

Mensaje por Giuseppe Bogetti »

In data Thu, 3 Mar 2005 20:14:25 +0100, Giuseppe Bogetti ha scritto:
Problems using the zip component.
//
// This method actually do the zipping
// I've noticed that using wildcards not all files are added to zip
//
METHOD FormBtnExecClick( oSender ) CLASS TBackup
LOCAL oZip AS OBJECT
LOCAL aFiles AS ARRAY
// Get File list
aFiles := Files2Zip( ::oBackList:aArrayData, FALSE )
IF ( Len( aFiles ) > 0 )
// Init vars
::BackBuildName( FALSE )
::oBarExec:nMax := Len( aFiles )
// Build Zip
WITH OBJECT oZip := TZipFile():New( self )
:cFileName := ::cBackupFileName
:aFileMask := aFiles
:OnProgress := "FormZipProgress"
:Run()
END WITH
ELSE
// Error
ENDIF
RETURN Nil
//
// This is the progress method
// In this case it seems that method is executed only one time at end of
// zipping because the only name I got is the last file added of zip file
//
METHOD FormZipProgress( oSender, cFile, nPos ) CLASS TBackup
::oTxtExec:cText := ( "Compressione archivio " + cFile )
RETURN Nil
What I would like to know is if there are errors in this code :-(
Also is there some sort of example on how to use the zip/unzip objects ?
--
Best regards,
Giuseppe Bogetti
B.G. Soft
Cuneo - Italy
Giuseppe Bogetti
Mensajes: 281
Registrado: Vie Ago 04, 2006 4:58 pm

Some questions

Mensaje por Giuseppe Bogetti »

In data Thu, 3 Mar 2005 20:14:25 +0100, Giuseppe Bogetti ha scritto:
Problems using the zip component.
//
// This method actually do the zipping
// I've noticed that using wildcards not all files are added to zip
//
METHOD FormBtnExecClick( oSender ) CLASS TBackup
LOCAL oZip AS OBJECT
LOCAL aFiles AS ARRAY
// Get File list
aFiles := Files2Zip( ::oBackList:aArrayData, FALSE )
IF ( Len( aFiles ) > 0 )
// Init vars
::BackBuildName( FALSE )
::oBarExec:nMax := Len( aFiles )
// Build Zip
WITH OBJECT oZip := TZipFile():New( self )
:cFileName := ::cBackupFileName
:aFileMask := aFiles
:OnProgress := "FormZipProgress"
:Run()
END WITH
ELSE
// Error
ENDIF
RETURN Nil
//
// This is the progress method
// In this case it seems that method is executed only one time at end of
// zipping because the only name I got is the last file added of zip file
//
METHOD FormZipProgress( oSender, cFile, nPos ) CLASS TBackup
::oTxtExec:cText := ( "Compressione archivio " + cFile )
RETURN Nil
What I would like to know is if there are errors in this code :-(
Also is there some sort of example on how to use the zip/unzip objects ?
--
Best regards,
Giuseppe Bogetti
B.G. Soft
Cuneo - Italy
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9253
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

Some questions

Mensaje por ignacio »

Giuseppe,
Problem fixed. Please try with this OBJ file.
Regards,
"Giuseppe Bogetti" <bgsoft@tiscali.it> escribió en el mensaje
news:[email=1515bam2w3mfw.lkuwv9s6n0jv.dlg@40tude.net...]1515bam2w3mfw.lkuwv9s6n0jv.dlg@40tude.net...[/email]
> In data Thu, 3 Mar 2005 20:46:35 +0100, Jose F. Gimenez ha scritto:
>
> Jose,
>
> Making some more changing to the project I now face an error which I don't
> understand.
>
> It's TBrwRecSel related but in the browse I don't use record selector
> column.
>
> --
> Best regards,
>
> Giuseppe Bogetti
> B.G. Soft
> Cuneo - Italy


Attached files BrwRecSel.zip (3.9 KB)Â
Ignacio Ortiz de Zúñiga
[Equipo de Xailer / Xailer team]
https://www.xailer.com
InvalidAccount
Mensajes: 53
Registrado: Vie Mar 04, 2005 9:58 am

Some questions

Mensaje por InvalidAccount »

Giuseppe,
Problem fixed. Please try with this OBJ file.
Regards,
"Giuseppe Bogetti" <bgsoft@tiscali.it> escribió en el mensaje
news:[email=1515bam2w3mfw.lkuwv9s6n0jv.dlg@40tude.net...]1515bam2w3mfw.lkuwv9s6n0jv.dlg@40tude.net...[/email]
> In data Thu, 3 Mar 2005 20:46:35 +0100, Jose F. Gimenez ha scritto:
>
> Jose,
>
> Making some more changing to the project I now face an error which I don't
> understand.
>
> It's TBrwRecSel related but in the browse I don't use record selector
> column.
>
> --
> Best regards,
>
> Giuseppe Bogetti
> B.G. Soft
> Cuneo - Italy


Attached files BrwRecSel.zip (3.9 KB)Â
Giuseppe Bogetti
Mensajes: 281
Registrado: Vie Ago 04, 2006 4:58 pm

Some questions

Mensaje por Giuseppe Bogetti »

In data Mon, 7 Mar 2005 10:25:56 +0100, Ignacio Ortiz de Zúñiga ha scritto:
Ignacio,
>
> Problem fixed. Please try with this OBJ file.
It works. Thanks a lot
--
Best regards,
Giuseppe Bogetti
B.G. Soft
Cuneo - Italy
Giuseppe Bogetti
Mensajes: 281
Registrado: Vie Ago 04, 2006 4:58 pm

Some questions

Mensaje por Giuseppe Bogetti »

In data Mon, 7 Mar 2005 10:25:56 +0100, Ignacio Ortiz de Zúñiga ha scritto:
Ignacio,
>
> Problem fixed. Please try with this OBJ file.
It works. Thanks a lot
--
Best regards,
Giuseppe Bogetti
B.G. Soft
Cuneo - Italy
Giuseppe Bogetti
Mensajes: 281
Registrado: Vie Ago 04, 2006 4:58 pm

Some questions

Mensaje por Giuseppe Bogetti »

In data Fri, 4 Mar 2005 16:54:55 +0100, Giuseppe Bogetti ha scritto:
> In data Thu, 3 Mar 2005 20:14:25 +0100, Giuseppe Bogetti ha scritto:
> // I've noticed that using wildcards not all files are added to zip
I've mistaken. Everything is OK in resulting zip file.
> //
> // This is the progress method
> // In this case it seems that method is executed only one time at end of
> // zipping because the only name I got is the last file added of zip file
> //
> METHOD FormZipProgress( oSender, cFile, nPos ) CLASS TBackup
> ::oTxtExec:cText := ( "Compressione archivio " + cFile )
> RETURN Nil
It seems that the window is unable/not allowed to process the messages
needed to update the screen because if I iconize the window and than
restore it the screen is not painted until end of zipping.
Is there a method/function to force event processing by the application
during my progress method ?
--
Best regards,
Giuseppe Bogetti
B.G. Soft
Cuneo - Italy
Giuseppe Bogetti
Mensajes: 281
Registrado: Vie Ago 04, 2006 4:58 pm

Some questions

Mensaje por Giuseppe Bogetti »

In data Fri, 4 Mar 2005 16:54:55 +0100, Giuseppe Bogetti ha scritto:
> In data Thu, 3 Mar 2005 20:14:25 +0100, Giuseppe Bogetti ha scritto:
> // I've noticed that using wildcards not all files are added to zip
I've mistaken. Everything is OK in resulting zip file.
> //
> // This is the progress method
> // In this case it seems that method is executed only one time at end of
> // zipping because the only name I got is the last file added of zip file
> //
> METHOD FormZipProgress( oSender, cFile, nPos ) CLASS TBackup
> ::oTxtExec:cText := ( "Compressione archivio " + cFile )
> RETURN Nil
It seems that the window is unable/not allowed to process the messages
needed to update the screen because if I iconize the window and than
restore it the screen is not painted until end of zipping.
Is there a method/function to force event processing by the application
during my progress method ?
--
Best regards,
Giuseppe Bogetti
B.G. Soft
Cuneo - Italy
Avatar de Usuario
jfgimenez
Site Admin
Mensajes: 5706
Registrado: Lun Abr 06, 2015 8:48 pm
Contactar:

Some questions

Mensaje por jfgimenez »

Guiseppe,
sorry for the late reply. I missed your message.
> It seems that the window is unable/not allowed to process the messages
> needed to update the screen because if I iconize the window and than
> restore it the screen is not painted until end of zipping.
>
> Is there a method/function to force event processing by the application
> during my progress method ?
You should call to ProcessMessages() periodically.
--
Regards,
Jose F. Gimenez
José F. Giménez
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
Avatar de Usuario
jfgimenez
Site Admin
Mensajes: 5706
Registrado: Lun Abr 06, 2015 8:48 pm
Contactar:

Some questions

Mensaje por jfgimenez »

Guiseppe,
sorry for the late reply. I missed your message.
> It seems that the window is unable/not allowed to process the messages
> needed to update the screen because if I iconize the window and than
> restore it the screen is not painted until end of zipping.
>
> Is there a method/function to force event processing by the application
> during my progress method ?
You should call to ProcessMessages() periodically.
--
Regards,
Jose F. Gimenez
José F. Giménez
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
Giuseppe Bogetti
Mensajes: 281
Registrado: Vie Ago 04, 2006 4:58 pm

Some questions

Mensaje por Giuseppe Bogetti »

In data Mon, 7 Mar 2005 12:02:55 +0100, Jose F. Gimenez ha scritto:
Jose,
> sorry for the late reply. I missed your message.
Not at all, your support is so far the best I've ever received.
> You should call to ProcessMessages() periodically.
That fixed everything.
--
Best regards,
Giuseppe Bogetti
B.G. Soft
Cuneo - Italy
Giuseppe Bogetti
Mensajes: 281
Registrado: Vie Ago 04, 2006 4:58 pm

Some questions

Mensaje por Giuseppe Bogetti »

In data Mon, 7 Mar 2005 12:02:55 +0100, Jose F. Gimenez ha scritto:
Jose,
> sorry for the late reply. I missed your message.
Not at all, your support is so far the best I've ever received.
> You should call to ProcessMessages() periodically.
That fixed everything.
--
Best regards,
Giuseppe Bogetti
B.G. Soft
Cuneo - Italy
Giuseppe Bogetti
Mensajes: 281
Registrado: Vie Ago 04, 2006 4:58 pm

Some questions

Mensaje por Giuseppe Bogetti »

In data Thu, 3 Mar 2005 20:14:25 +0100, Giuseppe Bogetti ha scritto:
Hi,
I've this array { { 2, "Test", "Test2", .T. } } to be used in conjunction
with an ArrayBrowser object.
How can I select element 4 of array in column 1 of ArrayBrowser ?
How can I display images instead of real values in a column (after having
set imagelist object of browser) ?
Do I have to use OnGetData event ? How ?
--
Best regards,
Giuseppe Bogetti
B.G. Soft
Cuneo - Italy
Giuseppe Bogetti
Mensajes: 281
Registrado: Vie Ago 04, 2006 4:58 pm

Some questions

Mensaje por Giuseppe Bogetti »

In data Thu, 3 Mar 2005 20:14:25 +0100, Giuseppe Bogetti ha scritto:
Hi,
I've this array { { 2, "Test", "Test2", .T. } } to be used in conjunction
with an ArrayBrowser object.
How can I select element 4 of array in column 1 of ArrayBrowser ?
How can I display images instead of real values in a column (after having
set imagelist object of browser) ?
Do I have to use OnGetData event ? How ?
--
Best regards,
Giuseppe Bogetti
B.G. Soft
Cuneo - Italy
Responder