Jump to content
Sign in to follow this  
Kohr

Grid UDF

Recommended Posts

i noticed that these dont work

$msg = GUIGetMsg()

If $msg = $GUI_EVENT_CLOSE Or $msg = $Exit_btn Then Exit

If $msg = $Save_btn Then _SaveGrid($File)

If $msg = $Load_btn Then _LoadGrid($File)

with the

GUIRegisterMsg($WM_COMMAND, "MY_WM_COMMAND")

and i was working on colors... any ideas??

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

i noticed that these dont work

$msg = GUIGetMsg()

If $msg = $GUI_EVENT_CLOSE Or $msg = $Exit_btn Then Exit

If $msg = $Save_btn Then _SaveGrid($File)

If $msg = $Load_btn Then _LoadGrid($File)

with the

GUIRegisterMsg($WM_COMMAND, "MY_WM_COMMAND")

and i was working on colors... any ideas??

8)

It is something with GUIRegisterMsg and the GuiButton function. Researching.

Kohr

Share this post


Link to post
Share on other sites

I found that using func "_GridSort" inside of func "Button_Click" is the problem. Need to figure out another solution so I can sort OR just go away from using the colored buttons and use regular ones. The only reason I initially started using them because I was thinking they could have been used as the actual column headings.

Kohr

Share this post


Link to post
Share on other sites

Nice, I could probably use this as well... one note, the Colored cells don't move when you click the sort buttons. Just an fyi ;)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...