Road Book creation

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

Road Book creation

Post by Silvio »

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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

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
User avatar
Silvio
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Post by Silvio »

Image
Best Regards, Saludos

Falconi Silvio
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

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
User avatar
Silvio
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Post by Silvio »

Can You make an small sample ?
Best Regards, Saludos

Falconi Silvio
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

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
User avatar
Silvio
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Post by Silvio »

thanks
Best Regards, Saludos

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

Post by Silvio »

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
manuramos
Posts: 219
Joined: Mon Dec 26, 2005 7:25 pm
Location: Jerez de la Frontera (Spain)

Post by manuramos »

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
User avatar
Silvio
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Post by Silvio »

I wanted create it in visual mode
Best Regards, Saludos

Falconi Silvio
Post Reply