Tuesday, January 26, 2010

Build 414

I just noticed that the past releases contained an older version of GuineuIDE.EXE without the fixes for the DO FORM problem some of you encountered. The new build contains the correct version. To benefit from the fixed generated code, you either have to modify the form (just changing the time stamp is sufficient) or delete the *.SCX.PRG files. Otherwise GuineuIDE won't regenerate the files.

Monday, November 30, 2009

Builds 390 - 412

I'll update this blog entry to collect all changes that have been implemented within the past few months. The past month's activity on the release blog doesn't do justice to the development of Guineu. There have been a number of changes.

Build 412 introduces the SelStart and SelLength properties for the Editbox control.

Build 405 adds the SET PROCEDURE TO and SET CLASSLIB TO command. This makes it easier to create more complex applications. Additionally, GuineuIDE handles controls correctly that are stored in a class library. With this release you might have to delete the generated .SCX.PRG files in order to regenerate those using the latest version of GuineuIDE. Starting with build 405 you can create your own VCX class libraries and use those classes on different forms.

Build 403 includes the Timer control. Available properties are Enabled and Interval. Timers raise the Init and Timer events.

SYS(8015) is new in build 402. This function adds SMTP capabilities to Guineu. To send an e-mail from the device you can use the following one liner:

Sys(8015, ;
"from@server.com", ;
"to@server.com", ;
"smtp.server.com","username","password", ;
"Subject", ;"Body" ;
)

You need internet connectivity on the device in order to send mails. Sending mails can be an alternative to printing a receipt.

Devices behave differently when you press the Enter key while the focus is on a button. Some devices trigger the Click event, some don't. Build 400 adds SYS(8014) to control this behavior. To explicitly call the Click event when Enter is pressed, use the following option:

SYS(8014,"ButtonClickOnEnter",1)

You revert to the device's default behavior by using this line:

SYS(8014,"ButtonClickOnEnter",0)

Build 395 adds the LOOP command. It works on all three supported loop types: FOR, DO WHILE and SCAN. SCATTER and GATHER have been extended in the same build. In addition to the NAME clause, they now support the MEMVAR and MEMO keywords.

Saturday, July 25, 2009

Build 389


SYS(8012) for controlling the Software-based Input Panel has been in the product for the past few weeks, but not been documented at all. The latest build mainly brings the documentation on par with the product, at least as far as the SIP is concerned. You find a detailed description of SYS(8012) on http://guineu.net/help/index.html?sys8012___software_based_input_panel.htm.

Friday, July 24, 2009

Build 388

Finally, FTP transfer is available for the mobile engine, as well. SYS(8010) allows you to send or receive files from any mobile device with internet connectivity with a single line of code using the FTP protocol:

MessageBox( Sys(8010, ;
"put", ;
"ftp.server.com/test.txt", ;
"username", ;
"password", ;
"hello world" ;
))
MessageBox(Sys(8010, ;
"get", ;
"ftp.server.com/test.txt", ;
"username", ;
"password" ;
))

Please note that you need a real internet connection for SYS(8010). The shared internet connection provided by ActiveSync/WMDC while the device is in the cradle (or connected with the PC) does not work reliable for FTP connections.

Saturday, July 18, 2009

Build 387

The desktop version got left behind a bit. Several features like RowSource haven't made it to the desktop engine when I introduced them to the mobile engine. These issues have now been corrected. The past seven builds were mostly lots of smaller bug fixes .

Friday, July 10, 2009

Build 380

A number of bugs have been fixed in the last builds. When Guineu causes an exception (aka crashes) it writes an exception.txt file with additional information where the crash happened. Now you also have the calling hierarchy of your programs so you can see which line of code caused the problem.

Newly implemented are SET DECIMALS. The ? and ?? commands do not yet completely respect the SET DECIMALS setting, though. SYS(1079), an undocumented function in VFP, is also implemented. SYS(1079) causes a crash for diagnostic purposes, if you want to see what the dialog looks like.

SYS(8013) is the counter part of DATETIME(). You can call it to change the local system time provided you have the permissions to change the time. On Windows Mobile changing the time does not require special privileges as it does on desktop systems. ADIR() now provides the date and time of the last file modification as well as file attribute information. The time respects the current daylight saving settings and like Microsoft Visual FoxPro and Explorer. ADIR() and SYS(8013) can be combined to implement a simple time synchronization between the mobile device and the server.

Sunday, June 28, 2009

Build 369

ADEL() is now available, as well.