FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Road Book creation
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM
Road Book creation
Posted: Wed Apr 26, 2006 03:46 PM

I must create a program to create a roadbook page for Rallye
To understand my problem I can give You a picture

http://hyperupload.com/download/011ac2f ... k.jpg.html

On First column thereis the total ans partial km
On Second column there are some symbol and the direction to follow
On third column there are notes

Someone have an Idea to make it ?

Best Regards, Saludos



Falconi Silvio
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Road Book creation
Posted: Wed Apr 26, 2006 03:56 PM

Silvio,

Please post the images (jpg,etc) at www.imageshack.us and copy here the provided url. Thanks.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM
Road Book creation
Posted: Wed Apr 26, 2006 05:07 PM
Best Regards, Saludos



Falconi Silvio
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Road Book creation
Posted: Wed Apr 26, 2006 05:55 PM

Silvio,

You have to create a user defined control where on the Method Paint() you do all that painting.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM
Road Book creation
Posted: Wed Apr 26, 2006 06:26 PM

Can You make an small sample ?

Best Regards, Saludos



Falconi Silvio
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Road Book creation
Posted: Wed Apr 26, 2006 08:31 PM

Silvio,

Class TTabS is a sample of a user defined class. You just need to change its Method Paint() to get it painted as you need it, and add the required DATAs to hold the info you are going to manage.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM
Road Book creation
Posted: Thu Apr 27, 2006 09:31 PM

thanks

Best Regards, Saludos



Falconi Silvio
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM
Road Book creation
Posted: Wed May 03, 2006 04:29 PM

I tried to use ttabs class but I NOt Know how can I make it

Can you create,please, a small sample ?

Best Regards, Saludos



Falconi Silvio
Posts: 219
Joined: Mon Dec 26, 2005 07:25 PM
Road Book creation
Posted: Wed May 03, 2006 04:49 PM

Silvio. I think you can build a dialog with some SAY's and painting lines via oDlg:bPainted. And with some empty BITMAP's.

After, you must draw all the symbols in BMP format and, for exemple, save them in a DLL. (In the same DLL where you could save the Dialog).
Running the aplcaction you have to RELOAD bitmap's depending the SAY's contents and what you want to represent. The realtionship between bitmaps and say's content coud be saved in a DBF file.

For exemple:

DBF STRUCTURE -> fileds: TITLE, COMMENT, SYMBOL, BITMAPNAME, POSITION, ETC...

Running the Program: fill SAY's with TITLE, COMMENT, ETC, and RELOAD BITMAP with the BITMAPNANE bitmap represnting SYMBOL symbol. Or some think like this.

It' s an idea. I hope you could anderstand me. (excuse my english)

Regards

Nos Gusta Programar
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM
Road Book creation
Posted: Wed May 03, 2006 08:21 PM

I wanted create it in visual mode

Best Regards, Saludos



Falconi Silvio

Continue the discussion