Jump to content

rullomare

uniGUI Subscriber
  • Posts

    131
  • Joined

  • Last visited

  • Days Won

    20

Everything posted by rullomare

  1. Hi, try this, if (code==46) { var val = sender.getValue() ; sender.setValue(val + ',') ; e.stopEvent() ; } Regards
  2. Hi, maybe you can help : For Ms-Sql Server look for BEGIN TRANSACTION, COMMIT TRANSACTION, ROLLBACK TRANSACTION and SET TRANSACTION ISOLATION LEVEL { READ UNCOMMITTED | READ COMMITTED | REPEATABLE READ | SNAPSHOT | SERIALIZABLE } [ ; ] BEGIN TRAN T1; UPDATE table1 ...; BEGIN TRAN M2 WITH MARK; UPDATE table2 ...; SELECT * from table1; COMMIT TRAN M2; UPDATE table3 ...; COMMIT TRAN T1; Regards
  3. Maybe can help : download ExtPascal-0.9.8.zip from code.google.com/p/extpascal/ There is a Sample program (source code) of how to convert from Delphi or Lazarus to Extpascal. Regards.
  4. Hi, I had the same problem. I do not know if you can help : Sample Code .... Procedure TFXXX.XReadColumnsHidden; Var Xread : String ; begin Xread := 'Xreadvisible' ; unisession.addjs('var cols=new Array(' +inttostr( grid.Columns.Count)+ ');' + 'for (i=0;i<cols.length;i++){'+ 'cols=' + grid.Jsname +'.columns.hidden;}'+ 'var str=cols.toString();' + 'ajaxRequest(' + grid.jsname + ',' + '''' + Xread + '''' + ' , ["ofs="+str])'); end; procedure TFXXX.gridAjaxEvent(Sender: TComponent; EventName: string; Params: TStrings); StrVisible : String ; Ts : Tstrings ; begin if SameText(Eventname,'XreadVisble') then begin StrVisible := Params.Values['ofs']; // Code Sample Ts := Tstringlist.Create ; Ts.Delimiter := ',' ; Ts.DelimitedText := StrVisible ; Code Sample for I := 0 to grid.Columns.count - 1 do begin // Your code .................. end; ts.free ; // Code Sample end ; end; regards
  5. Hi, maybe you can help: In ExtJS 4.x, an 'x-' is appended to the start of the overCls name. For example, if I use overCls: 'btnover' the actual class applied is 'x-btnover' Regards,
  6. Hi, add in servermodule> CustomCss and try again Best regards
  7. Hi, you can also try this 1) Add to CustomCss in servermodule : .x-unilabel-user { font:normal 11px tahoma, arial, helvetica, sans-serif; text-shadow: 2px 2px blue; } 2) add in Univent OnAfterCreate for the unilabel component unilabel1.ClientEvents -> UniEvent ->OnAfterCreate function OnAfterCreate(sender) { sender.cls = 'x-unilabel-user' ; } have fun !!!
  8. BuildSecurityfromDfm.zipsecurityzip.zipHi, here the source code. This is only an idea !!!!!!!!!!!! Just a idea !!!! Read the Readme.txt files. Regards Salvatore Marullo
  9. Zeos is ok to. regards
  10. Hi, I have not worked with the components tms (Security), but many years ago, I created my own little security "system" (2 Units) . Currently I have no projects (Unigui) in production; I'm just exploring the possibility (many) and the great potential of Unigui. After your request, I have tried to convert my source code (2 Units) in Unigui and I created a demo program. I believe, with success. The basic rules of my "system" is simple: Each component Unigui that has the properties "Visible and / or Enabled" can work with my "system". problems: 1) The Units and Demo uses 3 Mysql tables: Users, Profile, Security. 2) I use for demo and units MySQL-Devart Components. 3) If you do not work with mysql or not have Mysql-Devart Components , you must convert tables to another system and you need to change the MySQL code. ( I believe not very complicated) . 4) ????? If you are interested, I can post code, demo and tables layout. P.s. The source code is not documented, Sorry. regards
  11. Hi, i have created(copy) and edited manually UniXComponents16 from UniXComponents17 : Project file and package. work properly. Regards. Salvatore Marullo
  12. Hello to all, perhaps may be of interest. I did some testing with CSS. This is the result. testcss.txt 1) Add css to CustomCss Sever module 2) Create Event OnBeforerender for the TuniguiGroupBox function OnBeforerender(sender) { sender.addCls('boxTondo') ; } For more Info : http://www.html5today.it/tutorial/angoli-arrotondati-borderradius-css3 http://www.w3.org/TR/css3-background/#border-radius endera.heroku.com/examples/rounding Have fun . best regards This is just an idea.
  13. Hi Mr. Farshad, in a previous post you said that the price for the commercial version of Unigui will be about 700-1000 Usd with Ext JS OEM license included. I think for many of Us (single developer) the price is a to high, but considering the great job, the price could be acceptable. My idea: We donate, anticipate 400-500 Usd and will receive the Full source code Of Unigui (eg 0.94 version). When the commercial version of Unigui will be ready, we could get it by paying the difference. best regards Salvatore Marullo
  14. I'm sorry, if it says FM, will be corrected. I do not know much about Java and CSS, but if you find a way to store this data, for example on a MySQL table, and create a function that allows the client side to customize these parameters (focuscolor etc. Etc) and loads these parameters "On Create Form Event "IT WORKS. P.S. already tested.
  15. hi, This is not elegant, but it works, I have tested only for TunidbEdit and TuniEdit : On Enter Event ; Procedure TForm1i.EFieldEnter(Sender: TObject); begin TunidbEdit(Sender).Color := ClMoneyGreen ; end; On Exit Event : procedure TFForm1.EFieldExit(Sender: TObject); var msg : String ; begin TunidbEdit(Sender).Color := Clwindow ; end;
  16. Google Italy has temporarily locked Your Site. Regards Qual è lo stato attuale di unigui.com nell'elenco? Il sito è indicato come sospetto: una visita a questo sito web potrebbe danneggiare il tuo computer. Parte del sito è stata segnalata per attività sospetta 4 volte nel corso degli ultimi 90 giorni. Che cosa è successo dopo la visita di Google a questo sito? Dal test di 342 pagine del sito eseguito negli ultimi 90 giorni, è emerso che da 46 pagine è stato scaricato e installato software dannoso senza l'autorizzazione dell'utente. L'ultima visita di Google a questo sito è stata effettuata in data 2013-03-15 e contenuto sospetto è stato rilevato l'ultima volta in data 2013-03-15. Esempi di software dannoso sono: 71 exploit(s). Software dannoso è ospitato su 1 domini, tra cui xicodcic.ru/. Questo sito è stato ospitato su 1 reti tra cui AS30827 (XTRAORDINARY). Il sito ha assunto la funzione di intermediario per la distribuzione di malware? Nel corso degli ultimi 90 giorni, unigui.com ha assunto la funzione di intermediario per la distribuzione di malware o virus ad altri 2 siti tra cui baidu.com/, offeman.com/. Questo sito ha ospitato malware? Sì, questo sito ha ospitato software dannoso nel corso degli ultimi 90 giorni. Ha infettato 2 domini, tra cui baidu.com/, offeman.com/. Ragioni In alcuni casi, terze parti possono aggiungere codice dannoso a siti autentici e questo è il motivo alla base della visualizzazione del messaggio di avviso.
  17. Hi Patmap, certainly wonderful solution, but more than one line! Best Regards
  18. Use ClientEvent in Tuniedit / TuniDbEdit . function OnKeypress(sender, e) { var allowed = "0123456789" ; var c = e.getCharCode() ; if (allowed.indexOf(String.fromCharCode © ) === -1 ) { e.stopEvent(); } }
  19. Hi, It Is possible to add in TuniEdit and TuniDBEdit Properties charCase the code for EcNumeric (only Numbers) ? suggest ? Thanks Salvatore Marullo
  20. why not, I agree . Salvatore Marullo
×
×
  • Create New...