Jump to content

MarkB

uniGUI Subscriber
  • Posts

    67
  • Joined

  • Last visited

  • Days Won

    3

MarkB last won the day on June 15 2015

MarkB had the most liked content!

Recent Profile Visitors

1089 profile views

MarkB's Achievements

Member

Member (2/4)

9

Reputation

  1. Hi!

     

    Can you share Object Inspector that you writed, please?

  2. I'd like tooltips for the DBGrid too. In my case, I want dynamic data column by column and row by row.
  3. Dove in and found out the problem. Has to do with the two methods of TUniDBGrid 'H_OnExpandBody' and 'H_OnCollapseBody' The problem is the way the cName is being constructed in each such that the name of the Container in H_OnCollapseBody is not the same as the name constructed in H_OnExpandBody so when it tries to find the container to free it, it's not there. TUniCustomDesktopDBGrid.H_OnExpandBody cName := Self.Name + '_' + Self.JSName + '_Row_' + IntToStr(Id); // cName must be unique through the session TUniCustomDesktopDBGrid.H_OnCollapseBody cName := Self.Name + '_Row_' + IntToStr(Id); See the difference above. I tried fixing the H_OnCollapseBody method to produce the right name, using this.JName paramenter and while it worked for that one collapse, after the fact all RowWidgets were broken and would not expand. This is really simple to see and reproduce, do you really need an example?
  4. Thanks. This kind of works. If a round trip is made to the server and all rows are returned it works. But if you edit the row and change the value to a valid state, the state of the button does not change.
  5. I have a DBGrid with 4 fields, the first 2 are required and the Grid has RowEditor enabled. Those two Columns have a TUniDBEdit control associated with them. If I click the Plus button on the navigator, enter only data in the first field and click Confirm, I get a warning that the second field is required but the RowEditor stops responding to mouse clicks after that. UniguiValidationBug.zip
  6. I have DestroyOnCollapse on collapse checked but when the RowWidget is collapsed the underlying Frame is not being destroyed. Anything beyond checking this I have to do to make this happen?
  7. I'd like to have a ColumnWidget with a button but I need the buttons to be able to be disabled based upon a value in the row they are in.
  8. I will tomorrow. But I want the the child grid in the screenshot that says “Without ForceFit” to be the full width of the browser window.
  9. Yes. The plus minus button is not visible, but clicking on the first column where it used to be still responds to mouse clicks and it puts the whole row into edit mode. I'd expect clicking on that empty space not to have it do anything.
  10. Take a look at the screen shots. The one that says "With ForceFit" the parent grid is set to have the columns take up the whole width of the screen and the child grid (RowWidget) like wise takes up the whole width. The one that says "Without ForceFit" the columns of the parent grid take up just as much space as the need but the Grid itself is the full width of the screen. The Child grid is only taking up the width to match the width of the parents columns, not the whole width of the grid.
  11. Is it possible to have the Confirm button on the RowEditor disabled until all required fields are entered? If you need to know why I can give my example of the issue I'm having, but the above would fix it.
  12. So I sort of got it to work. It makes +/- button invisible but that are is still clickable and when I do, the column goes into RowEdit mode.
  13. The RowWidget width seems constrained to the Width of it's container grid meaning it's only as wide up to the last column. How do I make the RowWidget Width to match the entire width of the container grid, not just up to the last row. If I force the owner Grid to ForceFit then the RowWidget takes the whole width, but this is not optimal as the owner Grid only has a few columns.
×
×
  • Create New...