Home »
Public Forums »
archive »
Beginner going INSANE
Beginner going INSANE [message #21805] |
Wed, 20 September 2000 00:00 |
Andy[1]
Messages: 5 Registered: September 2000
|
Junior Member |
|
|
hello everyone,
this will probably be an easy question for all you experts out there but its
got me beat -
I have been given a PV-WAVE program that simulates a certain lab experiment.
The variables for this sim
are defined in the source code and my mission is to add a user interface
using PV-WAVE widgets that allows a user to change these variables on screen
before running the simulation.
I have defined text widgets and windows and that all works fine, but i have
the following problem -
there is an array, data_store, that has 10 elements (each element represents
a variable) and this array is populated by a datafile (of "default"
settings) when i run my program. The problem is that I want the textbox
callback procedure to update the array as the values are changed by the user
on screen and I cant do it...! This then needs to be linked to the
simulation code but that is no problem. It is just the updating I can't do
right
I tried passing values between the main procedure and the callback but i
couldnt get any joy
anyone got any tips or ideas?
thanks
andy
andy@andymcfee.plus.com
|
|
|
Current Time: Fri Oct 10 03:16:21 PDT 2025
Total time taken to generate the page: 0.32192 seconds