User Tag List

Results 1 to 5 of 5

Thread: DataGrid object expression error

  1. #1
    Clicker Fusion 2.5 Developer

    Join Date
    Jul 2006
    Posts
    271
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    DataGrid object expression error

    The following expressions in the DataGrid object don't work:

    Indexes
    - Get cell X left coordinate (XLeft( "DataGrid Object", >Line number<, >Column number&lt)
    - Get cell Y top coordinate (YTop( "DataGrid Object", >Line number<, >Column number&lt)
    - Get cell X right coordinate (XRight( "DataGrid Object", >Line number<, >Column number&lt)
    - Get cell Y right coordinate (YBottom( "DataGrid Object", >Line number<, >Column number&lt)

    They all report a syntax error when you try to use them.

    I think this is because they use the same identifier as the "X Coordinate of left edge" etc. expressions under "Position"

    Any chance this could be fixed? It was the same in MMF 1.5, and I really need to be able to find out those coordinates in my application.

    There doesn't seem to be a way to change the alignment of text in a column header. When you create a new column in the setup dialog, the text is aligned to the top and looks out of place when all of the other columns are vertically centered.

    How do we add a line/column to the end? All we seem to be able to do now is insert them at a position. There seems to be no way to add one to the end..

    Also, the action "Set column width" shows up as "Set height of column" in the event editor.

  2. #2
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    14,022
    Mentioned
    279 Post(s)
    Tagged
    3 Thread(s)

    Re: DataGrid object expression error

    I've fixed the syntax errors and the errors with "set line height" & "set column width", the fix will be in the build 242.

    Not sure about the other questions, I'll forward them to Francois (just out of curiosity, to add a line to the end : have you tried to insert a line at the number of lines of the grid?).

    Yves.

  3. #3
    Clicker Fusion 2.5 Developer

    Join Date
    Jul 2006
    Posts
    271
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: DataGrid object expression error

    Yup, I've tried that. It doesn't work. It's the same with columns.

    Thanks for fixing the syntax errors. <img src="/center/images/graemlins/smile.gif" alt="" />

  4. #4
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    14,022
    Mentioned
    279 Post(s)
    Tagged
    3 Thread(s)

    Re: DataGrid object expression error

    OK, you're right, that doesn't work. I took a look at the source code and it seems it was planned but not implemented. If you use -1 as parameter for the column or line index it should add it to the end. It's fixed in the build 242.

    Yves.

  5. #5
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    14,022
    Mentioned
    279 Post(s)
    Tagged
    3 Thread(s)

    Re: DataGrid object expression error

    Hmm... and I've fixed the alignment problem too. <img src="/center/images/graemlins/wink.gif" alt="" />

    Yves.

Similar Threads

  1. Datagrid object and other objects: Getting other objects to overlap datagrid order.
    By ratty in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 10th August 2013, 05:38 AM
  2. DotNet DataGrid error
    By jdv in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 13th August 2012, 03:03 PM
  3. Error in expression editor
    By CEO_MyChange in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 10th August 2011, 03:44 PM
  4. DataGrid Object Error
    By droberson in forum Extension Development
    Replies: 2
    Last Post: 13th October 2008, 07:26 AM
  5. Extension Error due to Expression problems
    By sss in forum Extension Development
    Replies: 12
    Last Post: 21st May 2007, 03:58 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •