Jump to content

cristianotestai

uniGUI Subscriber
  • Posts

    381
  • Joined

  • Last visited

  • Days Won

    11

Everything posted by cristianotestai

  1. Hi All, I have a UniDBGrid that displays records from a simple list of customers, with Name, Email and Phone columns. I want this grid, have a column(collapible) before the Name, content with symbol "+", which, when clicked on it, appears below another grid(detail) containing the information of the location of the customer, with the columns City, State and Country. If the User click again (symbol "-"), the detail grid disappears, because it must be colapisible. I know that currently in UniGui, this feature does not exist but is very similar to the example of the Grouping, only need to show the columns of City, State and Country in a grid below, which should appear when the user selects the indicated column with the "+" symbol. Attached I show an image with the feature that need to have. It would be possible to do this in some way? Any Idea? Thanks, Cristiano Brazil
  2. Hi Farshad, The appearance of the EXT JS 5 is awesome! It seems there was a significant improvement in design (CSS with Crisp Theme and resources) of the framework. The link below shows an example: http://dev.sencha.com/ext/5.0.0/examples/executive-dashboard/index.html#!kpi/clicks http://dev.sencha.com/ext/5.0.0/examples/executive-dashboard/index.html#!quarterly/AAPL Farshad, there any idea of time to support EXT JS 5? Thanks.
  3. Hi Oliver! Seconds after I post, I remember that I needed to reference the form and component related the "sender", and it worked correctly, Thanks! Bellow the code: Text := '<span style="text-decoration: underline; color: #004891; cursor: pointer" ' + ' onclick="ajaxRequest(fmAccount.btSearch, '+QuotedStr('search')+');">Edit</span>';
  4. Hi Oliver, I tried using ajaxRequest, but without success. My code is in the OnGetText TField event, located in MainModule, as follows: procedure TMainModule.cdsAccounteditGetText(Sender: TField; var Text: string; DisplayText: Boolean); begin Text := '<span style="text-decoration: underline; color: #004891; cursor: pointer" ' + ' onclick="ajaxRequest(sender, '+QuotedStr('search')+');">Edit</span>'; end; How do I capture the ajaxRequest? In theory, not have OnAjaxEvent for this text. Thanks for your help.
  5. Hello, In a UniDBGrid, I have a field that content is a plain text (String). How can I set up an event "click" for performing a ajaxRequest this text? The attached image shows an example where the text "Edit" I need to perform a ajaxRequest to open another form. Anyone have any ideas?
  6. I also agree with Erich. We know that this is the ExtJS Framework, and not UniGui(i'm correct?), but it is a confused html, off patterns and embedded css. Cristiano Testai
  7. Hi, Just a tip: This type of manipulation interface should be implemented by client scripting: ClientEvents. All code implemented in class procedures are performed on the server side because UniGui is 100% server side, which may cause some delay when many iterations are performed by the user. Best Regards, Cristiano Testai
  8. Just this Post Build Error was ignored and all packages installed ok, but I don't know what " hpp_fix.exe"does.
  9. [Exec Error] The command ""\unigui\hpp_fix.exe" "C:\Users\Public\Documents\RAD Studio\11.0\hpp\ext.hpp"" exited with code 3. My Library Path: C:\Users\Public\Documents\FMSoft\Framework\uniGUI; C:\Users\Public\Documents\FMSoft\Framework\uniGUI\Dcu\Delphi2014; C:\Users\Public\Documents\FMSoft\Framework\uniGUI\ExtPascal; C:\Users\Public\Documents\FMSoft\Framework\uniTools; C:\Users\Public\Documents\FMSoft\Framework\uniTools\Dcu\Delphi2014 What can be wrong or missing? Thanks
  10. Hi, An alternative is to use client side script with MouseMove, MouseOut, OnClick events and manipulate colors, InputText, Images in the panels or other container component.
  11. Up.. Hi Farshad, As I said I would not have that window Ajax Error, not simply change the text of the message. It would be much better and more elegant, have for example the default message as the image attached, in the format Page and not in a window with an empty message box informing an Ajax Error, which in fact is not a Ajax Error.
  12. Hello Farshad, When there fall internet connection user, occurs Ajax Error window: Server is not available, try later(or other custom text message in this window). Has as these types of cases or even when the server is not available, show the standard screen browse (mfPage format) as attached? Does not make sense have this little window Ajax Error reporting something, which in this case is not correct, because the server is working, and the user's Internet connection is not available. Thanks!
  13. Hi Peter, Below I show the procedures that I use in my project, where for example I sent an email to activate your user account on the site. 1: I saved a key (TGUID) to identify the user token in the Users table in a field called Token. 2: We send the activation email account to the User, the body of the email I add the reference to the link as below: To activate your account click on the link: '<a href="http://myapp.com/?et=AU&t=' + sToken +'">' + 'http://myapp.com/?et=AU&t=' + sToken + '</a>'; Where the parameter et = AU reports that the type of email is User Activation, the parameter t contains the Token(through sToken variable) of the User that was saved in the database. When the User clicks on the link will load the application and in the OnShow(MainForm) event I do check if there are parameters to be validated: TfmHome.UniFormShow procedure (Sender: TObject); begin if (UniApplication.Parameters.Values ​​['t'] = 'AU') then / /Checks if the parameter t (emailtype) exists and is for user activation(AU). begin //Validates Token (checks whether the content parameter t) if (UniApplication.Parameters.Values ​​['t'] <>'') then begin //Now with the GetTokenInfo function below, I check if the value of the parameter t is valid. The GetTokenInfo receives the token sent and validates the information in the database. if dmSessionModule.SystemObj.GetTokenInfo (UniApplication.Parameters.Values ​​['t']) = True then begin //Here I show the screen to the User confirm your user and password to activate the user. ... ... end; end; end; end;
  14. Please add ClientEvents suport to TUniScrollBox component. Thanks, Cristiano Testai Brazil
  15. Hi, The link in first post was broken, this is correct: http://takien.com/980/styling-scrollbar-to-look-like-facebook-scrollablearea-using-jscrollpane.php Farshad, With UniPanel for example, where i should start my selector so I can use the JScrollPane plugin as reports step 2 link? $ (function () { $ (. 'content-area'). JScrollPane (); /*content-area is my UniPanel*/ }); Thanks for help.
  16. Yes.. Possibly need to override something on ExtJS classes or somehow deal custom in Unigui ExtEvents. I will wait a possible Idea or help by Farshad.
  17. Hi, I need a help to use the plugin JScrollPane (styleable scrollbars with JQuery, http://jscrollpane.kelvinluck.com/) In this link http://takien.com/980/styling-scrollbar-to-look-like-facebook-scrollablearea-using-jscrollpane.php, exists the steps to use, but I could not get to work with UniGui, referring up to steps: 2. Initialize JScrollPane to your selector, and 3. Scrollbar Should be hidden if the mouse over on it. Personally, I'm wanting to use this custom scroll to UniScrollBox Component. Any example or idea to make this work? Thanks for help!... Cristiano
  18. Hi Farshad, After some time studying some implementations for my project, I installed Delphi XE3 and updated version of UniGui to see what effects they might have with the update since it was moved to the extjs 4.1 where significant changes have occurred. I'll be posting some issues where this post are: 1) I used the OnChange event(ClientEvents) for some processing on the client after leaving the field, but now, in the hour of content change event being triggered. Which event should I use it now to be triggered at the exit of the field? 2) In some fields(TUniEdit), I has used OnAfterrender event with the following code, but in release 0.90.0.976 does not work: function OnAfterrender(sender) { sender.getEl().setStyle('background-image', "url(../files/img/search.gif)"); } Any change in this sintax? Best Regards, Cristiano Testai Brazil
  19. Hi, I work with chat in my project using a combination of Datasnap and UniGui. First, see the chat demo that comes with delphi using Datasnap. Then you need to adapt your need with Unigui to the client side. This week I'm very busy, but I'll try better detail as I do.
  20. cristianotestai

    CSS

    Olá Vinicius, já havia comentado esta questao na lista nddv, mas coloco abaixo para todos do forum: Pelo que eu vi, o CSS atribuido ao Main Menu é o indicado através do arquivo tema do CSS (uni-xtheme-blue.css, utilizado por padrão). Eu não utilizo Main Menu no meu projeto, mas acho que por enquanto você precisará debugar pelo FireBug ou outro plugin para o browser, onde está a referencia no arquivo CSS e alterar diretamente no arquivo CSS para o estilo que vc pretende usar. Mas conforme o Farshad postou no forum(http://forums.unigui.com/index.php?/topic/1199-how-can-change-main-menu-font-to-tahoma/page__p__4114__hl__main+menu__fromsearch__1#entry4114), o sistema de Temas no ExtJS 4 mudou relacionado ao ExtJS 3, e com isso se vc criar um arquivo de tema pessoal(meutema.css), pode não funcionar. Particularmente eu ainda não fiz a atualização para o release 0.90 da UniGui -> ExtJS 4, pois ainda é recente e terão seguidos builds de melhorias e ajustes, mas em breve irei fazer... []'s Cristiano Testai
  21. Olá Flávio, O Farshad postou a situação atual do projeto, e do que será feito daqui por diante no tópico http://forums.unigui.com/index.php?/topic/2467-latest-status-in-development-and-future-of-unigui/page__pid__11243__st__20#entry11243 Para mim foi positivo suas declarações e a principal questão será com o formato de licença da Sencha. Veja lá, abs.
  22. Hi, You can use any database as needed. This refers to the framework of access and not particularly to UniGui! I use DBxpress(Devart Driver) with SQL Server.
  23. Ainda não estou usando a 0.90, estou esperando ficar mais estável. Mas vi algo sobre alguns issues como estes sendo discutidos. Vc já fez o teste com o ultimo build? []'s
  24. Hi, Current release 0.90 is based on ExtJS 4!! Regards, Cristiano Testai
×
×
  • Create New...