Click here to Skip to main content
15,898,772 members

Comments by Ralf Meier (Top 200 by date)

Ralf Meier 4 days ago View    
Sorry for my late response - it could have been earlier if you used the REPLY-widget insteat of writing a new comment.
Basicly @Grame_Grant has posted a possible Solution to do that.
You should use the SELECT CASE Statement with for example an Integer-Variable.
Now each Step of yor Statemachine is a new CASE of this with a new Value of that Integer.
After doing a step you should increase that Variable for the next step. Inside this next step you wait for the result to increase the Variable again ... and so on ...
Is that clear for you or should I create an example ?
Ralf Meier 5-May-24 6:14am View    
Please explain a little bit better what you are trying ... perhaps with some examples, What are the condition(s) to go to the next step ?
Ralf Meier 22-Apr-24 18:43pm View    
Have you ever checked with the Debugger if :
- GetSesionData is really called ?
- data is not Null ?
- what is data.Errorcode ?
- what is data.Chargerstate ?

Suspending the Layout isn't necessary - I suppose that one of those listed things is your problem ...
Ralf Meier 9-Apr-24 3:05am View    
Without seeing what your Debugger "says" I suppose that the assignment to the Eventhandler isn't realized at the right point.
I suggest that you don't do it manually and assign it with the Designer - so it will be established with the Form call.
Why have you coded it inside the TopliNapitciButton_Click-method ?
Ralf Meier 31-Mar-24 17:33pm View    
+5