Search found 13 matches

Go to advanced search

by basti
Thu Oct 22, 2009 1:26 pm
Forum: Tips and Techniques
Topic: Accessing a cell via mouse
Replies: 2
Views: 3293

Re: Accessing a cell via mouse

Perfect! Thanks!
by basti
Wed Oct 21, 2009 11:09 pm
Forum: Tips and Techniques
Topic: Accessing a cell via mouse
Replies: 2
Views: 3293

Accessing a cell via mouse

Hi! I have a table and would like to show the text of selected cell in a separate text field. The selection is done via mouse: just click on the cell and show the text. I thought that should be pretty easy because I already use accessing a whole row via mouse (e.g. with the following line): user := ...
by basti
Mon Oct 19, 2009 10:46 am
Forum: Tips and Techniques
Topic: Accessing a form method by another form
Replies: 8
Views: 9264

Re: Accessing a form method by another form

This code is making an assumption that the user always has an open "Help" form at the time when this logic is going to run. A better approach would be to have a myCurrentUser reference on your application subclass and use this reference to determine your type of user. Assuming you had a method on y...
by basti
Sun Oct 18, 2009 10:45 pm
Forum: Tips and Techniques
Topic: Accessing a form method by another form
Replies: 8
Views: 9264

Re: Accessing a form method by another form

load() updating; vars f : HelpForm; begin f := app.getForm("HelpForm").HelpForm; if f.loggedUserType="manager" then // <-- property "loggedUserType" is unknown self.groupAssign.visible:=true; endif; end; --> I tried this. Compiles without error but get an error during runtime: Error: Attempted acce...
by basti
Sun Oct 18, 2009 1:45 pm
Forum: Tips and Techniques
Topic: Accessing a form method by another form
Replies: 8
Views: 9264

Re: Accessing a form method by another form

Now, I need to access a form by another form and cannot do it via the load-method. Here is the problem: when I do this to look what type of user is logged in... load() updating; vars f : Form; begin f := app.getForm("HelpForm").Form; if f.loggedUserType="manager" then // <-- property "loggedUserType...
by basti
Sun Oct 18, 2009 1:33 pm
Forum: Tips and Techniques
Topic: How can I close mdiChilds from the mdiFrame-Window?
Replies: 3
Views: 3613

Re: How can I close mdiChilds from the mdiFrame-Window?

Thanks! It worked right off the bat :) .
by basti
Sat Oct 17, 2009 6:43 pm
Forum: Tips and Techniques
Topic: How can I close mdiChilds from the mdiFrame-Window?
Replies: 3
Views: 3613

How can I close mdiChilds from the mdiFrame-Window?

Hi, I would like to close all mdiChilds before opening a new one. Something like: mnuReport_click(menuItem: MenuItem input) updating; vars form:Report; begin mdiFrame.closeAllOpenChilds; //<-- How can I do this? create form; form.show; end; I´m still a little bit confused how to access open forms fr...
by basti
Thu Oct 15, 2009 2:22 pm
Forum: Tips and Techniques
Topic: How can I sort a table?
Replies: 3
Views: 4609

still not working

The Jade Table class has the following "sort" attributes (each is an array) sortAsc, sortCased, sortColumn, sortType The documentation is good at explaining each of these - note that the sort processing is limited to 6 columns After setting the required attributes for your sort columns you will nee...
by basti
Thu Oct 15, 2009 10:53 am
Forum: Tips and Techniques
Topic: How can I sort a table?
Replies: 3
Views: 4609

How can I sort a table?

I have a collection presented in a table and I would like to have an option to select different sortings (e.g. a Customer-Collection --> option 1: sort by name; option 2: sort by ID and so on). How can I do that?

Thanks!
by basti
Wed Oct 14, 2009 3:48 pm
Forum: Tips and Techniques
Topic: Accessing a form method by another form
Replies: 8
Views: 9264

Re: Accessing a form method by another form

not sure if this is what you want vars frm : Form; begin frm := app.getForm("mainMenu").Form; if frm <> null then frm.showButton; endif; Thanks, it helped (again :) ). Although I wasn´t able to access the showButton-method. I don´t know why. Though, I can access all the basic methods like .load, .u...

Go to advanced search