Dear friends, I'm wondering if there is a way to build an application that uses some text console forms and some gui forms.
Any ideas?
Thank you in advance.
EMG
Dear friends, I'm wondering if there is a way to build an application that uses some text console forms and some gui forms.
Any ideas?
Thank you in advance.
EMG
Hi Enrico
Have you tried Alaska xBase software?
http://www.alaska-software.com/products/xpp/xpp.shtm
Regards
George
Sorry, I need to do it using FWH and xHarbour. Thank you anyway.
EMG
Enrico,
The console is very much restricted, so the easiest way is to simulate a console so you have full GUI capabilities also.
Please review FWH\samples\ter_emu.prg
I have a console application and would like to port to GUI one form at a time. But I suppose it's not possible... ![]()
EMG
Enrico,
Do you mean without modifying it ?
No, I'd like to modify one form at a time. As an example: I take a PRG and start to convert it to FWH but the rest of the application must continue to work in console mode. Is it possible?
EMG
Enrico,
Yes, it is possible, but you have to use a different GT library. The one that Pritpal developed: GTWVW
I have not tested it myself, but based on Pritpal's comments, it should be the one to use.
@ 1, 1 SAY "Name:" GET cName
READ#include "Fivewin.ch"
DEFINE DIALOG oDlg
REDEFINE GET cName ID 101
ACTIVATE DIALOG oDlgAntonio Linares wrote:
Yes, it is possible, but you have to use a different GT library. The one that Pritpal developed: GTWVW
I have not tested it myself, but based on Pritpal's comments, it should be the one to use.
Pritpal Bedi wrote:So let me know if Harbour is an option then I ca provide details how to ?
It is possible but with xHarbour, see the link below you can find some examples.
Just be careful to get the code at the GUI. PRG separate console.
And you have to use the GTWVW or just want a little more appeal WVWTOOLS can use as a bridge between the console and Gui
Thank you. I gave up for the moment.
EMG
OK ... how about two applications. You have your GUI, but let it call your developing Windows program which contains your transformed functions. Each menu option to call a .prg would pass a parameter, and in your windows "Main.prg" you call the program based on the passed parameter. I would suggest parameters be "F###" which allows you to designate 999 functions. It might not be the speediest solution but it sure would do the job.
I have done this in the past by allowing the users to continue using the old DOS version and also the new Windows version. The Windows version was incomplete but users could open both programs and switch back and forth using the taskbar. I had no complaints because they all were glad to get the use of the new program even if it was incomplete.
Regards,
James