+ All Categories
Home > Documents > Push Button and Marco - Advantechwfcache.advantech.com/www/webaccess/Training/1_WebAccess... ·...

Push Button and Marco - Advantechwfcache.advantech.com/www/webaccess/Training/1_WebAccess... ·...

Date post: 05-Mar-2021
Category:
Upload: others
View: 4 times
Download: 0 times
Share this document with a friend
8
WebAccess Training Material Push Button and Marco Version 7.0 rev 0a Advantech Corp., Ltd. page 1 Push Button and Marco
Transcript
Page 1: Push Button and Marco - Advantechwfcache.advantech.com/www/webaccess/Training/1_WebAccess... · 2015. 6. 21. · WebAccess Training Material Push Button and Marco Version 7.0 rev

WebAccess Training Material Push Button and Marco

Version 7.0 rev 0a Advantech Corp., Ltd. page 1

Push Button and Marco

Page 2: Push Button and Marco - Advantechwfcache.advantech.com/www/webaccess/Training/1_WebAccess... · 2015. 6. 21. · WebAccess Training Material Push Button and Marco Version 7.0 rev

WebAccess Training Material Push Button and Marco

Version 7.0 rev 0a Advantech Corp., Ltd. page 2

1. Use “Open DRW” button to open second.bgr page

DrawDAQ -> Dynamic -> Push Button

2. A “Push Button” dialog box pop out.

Find “<GOTO>GRAPH=“ in Marco and put it in “Button Down”

Then type “main.bgr” by yourself, then click “OK” button to complete it.

3. Then use mouse to drag a button out.

Page 3: Push Button and Marco - Advantechwfcache.advantech.com/www/webaccess/Training/1_WebAccess... · 2015. 6. 21. · WebAccess Training Material Push Button and Marco Version 7.0 rev

WebAccess Training Material Push Button and Marco

Version 7.0 rev 0a Advantech Corp., Ltd. page 3

4. Move mouse curser to the center of the button, a hand image will appear, and

then click it.

5. This will be an invisible button. Invisible button will not affect the background

image. Remember to save the file.

Page 4: Push Button and Marco - Advantechwfcache.advantech.com/www/webaccess/Training/1_WebAccess... · 2015. 6. 21. · WebAccess Training Material Push Button and Marco Version 7.0 rev

WebAccess Training Material Push Button and Marco

Version 7.0 rev 0a Advantech Corp., Ltd. page 4

6. Open Main.bgr

Using ABC button to type “second” string, then click “Enter”.

The word “second” will be highlighted.

7. Dynamic -> Push Button

In Button Down, enter “<GOTO>GRAPH=second.bgr

Last, click “OK” button

Page 5: Push Button and Marco - Advantechwfcache.advantech.com/www/webaccess/Training/1_WebAccess... · 2015. 6. 21. · WebAccess Training Material Push Button and Marco Version 7.0 rev

WebAccess Training Material Push Button and Marco

Version 7.0 rev 0a Advantech Corp., Ltd. page 5

8. A button will be created.

The button size is based on the length of the text.

Note: remember to save the page.

9. Download the project:

Download Graph -> Training_20091215

Page 6: Push Button and Marco - Advantechwfcache.advantech.com/www/webaccess/Training/1_WebAccess... · 2015. 6. 21. · WebAccess Training Material Push Button and Marco Version 7.0 rev

WebAccess Training Material Push Button and Marco

Version 7.0 rev 0a Advantech Corp., Ltd. page 6

10. Run ViewDAQ

11. User is able to switch the pages by clicking the button.

Page 7: Push Button and Marco - Advantechwfcache.advantech.com/www/webaccess/Training/1_WebAccess... · 2015. 6. 21. · WebAccess Training Material Push Button and Marco Version 7.0 rev

WebAccess Training Material Push Button and Marco

Version 7.0 rev 0a Advantech Corp., Ltd. page 7

12. User may have a button that the button size is larger than the length of text.

Using “ABC” function to type a word “second” and use “button” function to

draw a button. Remember DO NOT click the “Group Objects”

13. Move “second” over the button, and then highlight both “second” and the button.

By clicking the right button of the mouse, and then click the “Group”

Page 8: Push Button and Marco - Advantechwfcache.advantech.com/www/webaccess/Training/1_WebAccess... · 2015. 6. 21. · WebAccess Training Material Push Button and Marco Version 7.0 rev

WebAccess Training Material Push Button and Marco

Version 7.0 rev 0a Advantech Corp., Ltd. page 8

14. Save the main page and download the project.

Two buttons will do the same action.


Recommended