PHP WinBinder: Alternative control 3: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
(Proofreading and grammatical changes; some minor reformatting)
mNo edit summary
 
Line 322: Line 322:
This indicator flashes, providing a user with feedback. When the main indicators change, it is turned off.
This indicator flashes, providing a user with feedback. When the main indicators change, it is turned off.


There are two images blue and blank. These are created as follows:  
There are two images: blue and blank. These are created as follows:  


'''''File test_7.phpw'''''
'''''File test_7.phpw'''''
Line 338: Line 338:
  wb_set_image($frame,  'blue.bmp', NOCOLOR);
  wb_set_image($frame,  'blue.bmp', NOCOLOR);
</pre>
</pre>
Finally add this to the end of main_timer() function:  
Finally, add this to the end of main_timer() function:  
<pre>
<pre>


Line 377: Line 377:
Essentially that completes the alternative control. There is a remaining issue.
Essentially that completes the alternative control. There is a remaining issue.


You will have noticed a button named refresh. This serves no real purpose other than to update buttons and indicators (runs function main_init ) after restoring the application using the tray icon.
You will have noticed a button named refresh. This serves no real purpose other than to update buttons and indicators (by running function main_init) after restoring the application using the tray icon.


A solution is provided on the [[PHP WinBinder: Alternative control 4 | '''next page''']] that removes the need for this button.
A solution is provided on the [[PHP WinBinder: Alternative control 4 | '''next page''']] that removes the need for this button.

Navigation menu