Information générale
Titre:
Best Implementation?
Hi all.
I am in the process of rewriting a VFP 3.0 app in VFP 5. The VFP 3 app converts an autocad .dwg file (representing the roof top layout of a building) to .bmp format. It then uses DDE to pass the co-ordinates of each indiviual roof area in the .bmp to a Delphi 1.0 program along with some info about the condition of each roof area. The Delphi program then shades each roof area according to its condition:
Form1.Image1.Canvas.Brush.Color := mCol;
Form1.Image1.Canvas.FloodFill(x,y,clWhite,fsSurface);
Now that I am re-writing this app, I am thinking that there may be a better way to do this. I know that I can use VFP to access the win API and use the ExtFloodFill function that way. But is that the best way. The management would also like to have tool tips that contain the name of the roof area that the mouse is over. Is there a way to that via API calls? Or would it be better to use the same Delphi 1.0 routine upgraded to Delphi 3.0? Or maybe write a routine in VC++?
All advice gratefully accepted.
Marcia
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement