Page 1 of 1

Road Book creation

Posted: Wed Apr 26, 2006 3:46 pm
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 ?

Posted: Wed Apr 26, 2006 3:56 pm
by Antonio Linares
Silvio,

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

Posted: Wed Apr 26, 2006 5:07 pm
by Silvio
Image

Posted: Wed Apr 26, 2006 5:55 pm
by Antonio Linares
Silvio,

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

Posted: Wed Apr 26, 2006 6:26 pm
by Silvio
Can You make an small sample ?

Posted: Wed Apr 26, 2006 8:31 pm
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.

Posted: Thu Apr 27, 2006 9:31 pm
by Silvio
thanks

Posted: Wed May 03, 2006 4:29 pm
by Silvio
I tried to use ttabs class but I NOt Know how can I make it

Can you create,please, a small sample ?

Posted: Wed May 03, 2006 4:49 pm
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

Posted: Wed May 03, 2006 8:21 pm
by Silvio
I wanted create it in visual mode