Bruno Fierens

Bruno Fierens

I am having trouble understanding how to do basic stuff with the TMS FMX UI package.

Namely:

1) Hide the tabs in a page control: every other page control out there lets you do this, I can't believe the TMS one can't. On the other hand, the PDF documentation doesn't say anything on this

2) Long taps on table view: this is really, absolutely basic for any professional component set, yet I can't find a way to do this. There has to be a way, surely, that isn't shown in the PDF.

Can you please help me figure out how to do stuff that is surely possible?

Thanks.

Comments

  1. Protocol Suggestion: Publicly shouting out the CEO of a company for support in a different newsgroup is not a good start.

    Why not ask TMS support directly, or try posting in the TMS group first.

    If that does not work, then politely ask the users of this group for help.

    ReplyDelete
  2. Andrea Raimondi You say "Every other page control"? Do you mean every other FMX page page control?

    FMX is different than VCL.

    OK, There must be at least a dozen (or more) ways to do this.

    I quickly found a few ways. One way (probably not the best way), is to set the tab size to zero!

    I don't know the "best way" since I have never read the docs.

    The following code will toggle "hiding" the tabs.

    The default values are hard coded. I would suggest saving back the values.

    if (TMSFMXPageControl1.TabSize.Height > 0) then begin
    TMSFMXPageControl1.TabSize.Mode := tsmFixedSize;
    TMSFMXPageControl1.TabSize.Height := 0;
    TMSFMXPageControl1.TabSize.Width := 0;
    end else begin
    TMSFMXPageControl1.TabSize.Mode := tsmAutoSize;
    TMSFMXPageControl1.TabSize.Height := 22;
    TMSFMXPageControl1.TabSize.Width := 100;
    end;

    Joe

    ReplyDelete
  3. Joe C. Hecht, I have tried a few ways but all of them are a bit dodgy, the correct way to do this is to have an option to not show tabs directly in the control.

    ReplyDelete
  4. Andrea Raimondi have you contacted TMS Support? The guys at TMS are replying very fast and they also provide solutions very fast.

    ReplyDelete
  5. Andrea Raimondi You now state that already have answers, and know the correct solution.

    The correct way to deal with this is to send your suggestion to TMS support.

    I sincerely regret taking time from my life to assist you.

    Clearly, this post was a directed attempt to publicly air a dirty laundry list squarely aimed at the CEO of TMS (and also a respected community member).

    My mistake. This is not a post seeking assistance.

    It is posts like this that caused me to stop posting answers some 18 years ago.

    This post does not belong here, and is a detriment to the community.

    I hope this get tossed by the moderator.

    Joe

    ReplyDelete
  6. Joe C. Hecht "This post does not belong here, and is a detriment to the community."

    Does questioning the design decision of a commercial third party component really rise to the level of a detriment to the community?

    I mean, I'm an expert on detriments to the community - I'm the creator of the "Hitler Reacts To Delphi's Position On the TIOBE Index" video! :-) :-) :-) Man, I wish someone still had a copy of that....

    ReplyDelete

Post a Comment