- Отметить как новое
- Закладка
- Подписаться
- Отключить
- Подписка на RSS-канал
- Выделить
- Печать
- Сообщить о недопустимом содержимом
Hi
I have an dialog QwikWin graphic program that draws zooms and pans a map. The external DRAWMAP subroutine reads the map points from a file and draws the map each time it is called by callback subs START, ZOOM or PAN (buttons).
Reading the file every time a button is clicked causes a little but annoying dalay in redrawing the map to its new size or position.
I would like the START callback sub to read the file, allocate and fill an array with the map points, and make this array sharable with DRAWMAP sub, any time it is called by the other buttons.
In START callback sub I could pass the allocated array to the DRAWMAP sub but the ZOOM and PAN callback are not called by START so I do not know how to do it
I know my 5.0D is out of data but the upgrade to 6.6 is arriving next week.
Thanks for any help I can get
Geraldo Garcia
I have an dialog QwikWin graphic program that draws zooms and pans a map. The external DRAWMAP subroutine reads the map points from a file and draws the map each time it is called by callback subs START, ZOOM or PAN (buttons).
Reading the file every time a button is clicked causes a little but annoying dalay in redrawing the map to its new size or position.
I would like the START callback sub to read the file, allocate and fill an array with the map points, and make this array sharable with DRAWMAP sub, any time it is called by the other buttons.
In START callback sub I could pass the allocated array to the DRAWMAP sub but the ZOOM and PAN callback are not called by START so I do not know how to do it
I know my 5.0D is out of data but the upgrade to 6.6 is arriving next week.
Thanks for any help I can get
Geraldo Garcia
Ссылка скопирована
1 Ответить
- Отметить как новое
- Закладка
- Подписаться
- Отключить
- Подписка на RSS-канал
- Выделить
- Печать
- Сообщить о недопустимом содержимом
Put the array declaration in a MODULE that is then USEd by the various routines.
Steve
Steve

Ответить
Параметры темы
- Подписка на RSS-канал
- Отметить тему как новую
- Отметить тему как прочитанную
- Выполнить отслеживание данной Тема для текущего пользователя
- Закладка
- Подписаться
- Страница в формате печати