Road Book creation

Road Book creation

Postby Silvio » Wed Apr 26, 2006 3: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
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Postby Antonio Linares » Wed Apr 26, 2006 3: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
User avatar
Antonio Linares
Site Admin
 
Posts: 41481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Silvio » Wed Apr 26, 2006 5:07 pm

Image
Best Regards, Saludos

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

Postby Antonio Linares » Wed Apr 26, 2006 5: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
User avatar
Antonio Linares
Site Admin
 
Posts: 41481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Silvio » Wed Apr 26, 2006 6:26 pm

Can You make an small sample ?
Best Regards, Saludos

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

Postby Antonio Linares » Wed Apr 26, 2006 8: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
User avatar
Antonio Linares
Site Admin
 
Posts: 41481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Silvio » Thu Apr 27, 2006 9:31 pm

thanks
Best Regards, Saludos

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

Postby Silvio » Wed May 03, 2006 4: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
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

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

Postby Silvio » Wed May 03, 2006 8:21 pm

I wanted create it in visual mode
Best Regards, Saludos

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


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 35 guests