Help for ROADBOOK

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

Help for ROADBOOK

Post by Silvio »

I wanted create a roadbook as roadbook assistant 1.0 ( create in germany)
Someone can help me ?

Regards
Best Regards, Saludos

Falconi Silvio
StefanHaupt
Posts: 824
Joined: Thu Oct 13, 2005 7:39 am
Location: Germany

Re: Help for ROADBOOK

Post by StefanHaupt »

Silvio wrote:I wanted create a roadbook as roadbook assistant 1.0 ( create in germany)
Someone can help me ?

Regards
May be, what do you need ?

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

Post by Silvio »

I need to create in with fivewin because it not is on italian language and I cannot talk with the author

I italy this roadbook is much different from germany because we use many our simbols.

I can explain you

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


Image

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

I search an small sample to develop

if you can help You are greate
Best Regards, Saludos

Falconi Silvio
StefanHaupt
Posts: 824
Joined: Thu Oct 13, 2005 7:39 am
Location: Germany

Post by StefanHaupt »

Sylvio,

I have no code sample from a roadbook application, sorry. Maybe you can simulate the colums with scrollable dialogs, or better, modify one of the browse classes which supports multiple lines per row.

I can assist you, if you need help in translation into german language.

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

Post by Silvio »

I trying to create a new class : TRoadBook

Can you help me ?
Best Regards, Saludos

Falconi Silvio
StefanHaupt
Posts: 824
Joined: Thu Oct 13, 2005 7:39 am
Location: Germany

Post by StefanHaupt »

CLASS TRoadBook

CLASSDATA lRegistered // only, if the class is a control

DATA ....
DATA ....

METHOD New (<Parameter>) CONSTRUCTOR
METHOD End ()
METHOD ....

ENDCLASS

and you call it from your app:

oRoadBook := TRoadBook():New (<Parameter>)

There are some interesting articles about it from James Bott

http://ourworld.compuserve.com/homepage ... rogram.htm

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

Post by Silvio »

I have modified ttabs class to troadbook class
I draw a line and I call it as

@ 5,5 roadbook of odlg

but how can I make to insert a new line ?
can I send you this project ?
Best Regards, Saludos

Falconi Silvio
StefanHaupt
Posts: 824
Joined: Thu Oct 13, 2005 7:39 am
Location: Germany

Post by StefanHaupt »

Sylvio,

late answer, sorry, I was on holiday.

I don´t understand what you want to do, what do you mean with "line" ? A graphical line or a browse line, or ... ?

tabs are similar to folders or pages, you have normally to put other controls in it.

You can send me the project, I will try to help you

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

Post by Silvio »

thanks
I made something but I have many perplexities...
I made a class on this i can insert symbols or images but i not know how i can save all into an one file...
I must create many line as Browse lines
if you go at you can see what I wanted to create..

http://rbeditor.valleyfield.se/en/

but tnhe author cannot translate it on italian language and in italy i must creare another roadbook with many symbols and this program not permise to add symbols
Best Regards, Saludos

Falconi Silvio
StefanHaupt
Posts: 824
Joined: Thu Oct 13, 2005 7:39 am
Location: Germany

Post by StefanHaupt »

It´s a quite difficult task you have to do.

One solution could be to adapt an existings browse class to fit your needs.

Maybe TsBrowse sis the most suitable class for this. You have the lines alreeady there and you can change the height of the lines, two colums, on the left side you put a memoedit for the text and on the right side you can insert the images.

It´s just a first idea, there surely are other solutions, eg. scrollable diaglogs with static controls, to simulate a browse.

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

Post by Silvio »

where i can send you the project ?
Best Regards, Saludos

Falconi Silvio
StefanHaupt
Posts: 824
Joined: Thu Oct 13, 2005 7:39 am
Location: Germany

Post by StefanHaupt »

Silvio wrote:where i can send you the project ?
sthaupt@uni-kassel.de
User avatar
Silvio
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Post by Silvio »

see your email
Best Regards, Saludos

Falconi Silvio
Post Reply