-
Posts
19793 -
Joined
-
Last visited
-
Days Won
643
Content Type
Profiles
Forums
Events
Everything posted by Sherzod
-
DropdownWindowWidth for control's with dropdown menu
Sherzod replied to ttamturk's topic in Feature Requests
Hi While, maybe will help?: http://forums.unigui.com/index.php?/topic/3733-dblookupcombobox-list-dynamic-size/&do=findComment&comment=17844 Best regards. -
Hi Erich. Try to use: Ext.dd.DDProxy Example for the main form: function window.afterrender(sender, eOpts) { sender.dd = new Ext.dd.DDProxy(sender, ''); sender.dd.afterDrag = (function (){sender.doLayout()}); Ext.onReady(function () { Ext.get(sender.id).select(".x-form-field").each(function (el) {sender.dd.addInvalidHandleId(el.dom.id)}) } ); } Best regards.
-
Hi CastleSoft. Try: UniLabel1.AutoSize := False; Best regards.
-
iPhone-Style-Toggle-Slide-for-ExtJS for Unigui
Sherzod replied to rullomare's topic in Components and Code Samples
Thank you -
-
Hi mierlp. While, try: 1. Form.BorderStyle -> bsNone; 2. To prevent resizing the form, you can use this code: (MainForm - > ClientEvents -> UniEvents -> beforeInit) function window.beforeInit(sender, config) { sender.resizable = false; } [3.] And it is to remove a border: http://forums.unigui.com/index.php?/topic/3992-hideremove-the-form-border/&do=findComment&comment=19269 Best regards.
-
Hi KingOrmon. Create and use the unit DataModule for DataSets ... Sorry if I do not understand the question. Best regards.
-
Thanks rullomare!
- 32 replies
-
- Masked input
- plugin
-
(and 1 more)
Tagged with:
-
without plugin is displayed correctly?
- 32 replies
-
- Masked input
- plugin
-
(and 1 more)
Tagged with:
-
UniDateTimePicker1.DateFormat := 'dd/MM/yyyy'; does not help?
- 32 replies
-
- Masked input
- plugin
-
(and 1 more)
Tagged with:
-
I will try... Have you tried using UniDateTimePicker1 with mask? UniDateTimePicker1 -> ClientEvents -> ExtEvents -> add afterrender function: function afterrender(sender, eOpts) { $("#"+sender.id+"-inputEl").mask("99/99/9999"); }
- 32 replies
-
- Masked input
- plugin
-
(and 1 more)
Tagged with:
-
Hi chefdackel. If I understand you correctly, try: uses ... UniGUIApplication ... procedure TMainForm.UniFormCreate(Sender: TObject); begin UniSession.AddJS('Ext.onReady ( function () {$("#' + UniEdit1.JSName + '_id-inputEl").mask("aa**");});'); //OR UniEdit1.ClientEvents.ExtEvents.Add ('OnAfterrender=function OnAfterrender(sender, eOpts)'+ ' { $("#"+sender.id+"-inputEl").mask("aa**"); }'); end; Best regards.
- 32 replies
-
- 1
-
- Masked input
- plugin
-
(and 1 more)
Tagged with:
-
Hi, Sorry, actually this plugin is not oriented for DB components. But although it is possible to modify the code for the DB component. In your case, On which field you set? (what data type) Best regards.
- 32 replies
-
- Masked input
- plugin
-
(and 1 more)
Tagged with:
-
Hi Try: UniEdit1 -> ClientEvents -> ExtEvents -> add afterrender function: function afterrender(sender, eOpts) { $("#"+sender.id+"-inputEl").mask("aa***"); } function beforeInit(sender) { Ext.onReady( function () { $("#"+sender.id+"-inputEl").mask("99/99/9999"); }); } Best regards.
- 32 replies
-
- Masked input
- plugin
-
(and 1 more)
Tagged with:
-
Hi! This is a masked input plugin for the jQuery javascript library. (Hayri Aslan more professionally implemented this feature: http://forums.unigui.com/index.php?/topic/4475-uniexclusive/) Source and usage: http://digitalbush.com/projects/masked-input-plugin/ Demo: http://digitalbush.com/projects/masked-input-plugin/#demo Simple example of use (eg with component UniEdit): 1. It is necessary to download the two files and include in your project 1. jquery 2. jquery.maskedinput.min.js 2. 1. UniEdit1.Text := ''; 2. UniEdit1 -> ClientEvents -> UniEvents -> add function beforeInit: function beforeInit(sender) { Ext.onReady( function () { $("#"+sender.id+"-inputEl").mask("99/99/9999"); }); } Best regards.
- 32 replies
-
- 1
-
- Masked input
- plugin
-
(and 1 more)
Tagged with:
-
Thank you Hayri Aslan! With your permission, another MASKED INPUT PLUGIN: http://digitalbush.com/projects/masked-input-plugin/ Simple example of use (eg with component UniEdit): http://forums.unigui.com/index.php?/topic/4523-masked-input-plugin/ Best regards.
-
Hi Erich. And what if, when you click on the left menu, to show the mask before the end of the animation? Best regards.
-
Google Keywords : SEO (Search engine optimization) ?
Sherzod replied to Abaksoft's topic in Feature Requests
Hi. UniGUI framework have adopted SPA principles. So I think there is a problem points for SEO. http://en.wikipedia.org/wiki/Single-page_application http://en.wikipedia.org/wiki/Single-page_application#Search_engine_optimization Best regards. -
Hi, While, try.. UniCalendarPanel1 -> ClientEvents -> ExtEvents -> add function afterrender: function afterrender(sender, eOpts) { // sunday = 0, monday = 1, ... sender.getActiveView().startDay = 1; } Best regards.
-
Hi msegura. Try to use: 1. To edit: editingPlugin.startEdit (rowIndx, colIndx); procedure TMainForm.UniButton3Click(Sender: TObject); var gridJSName: string; begin gridJSName := UniDBGrid1.JSName; UniSession.AddJS('if (' + gridJSName + '.editingPlugin) {' + gridJSName + '.editingPlugin.startEdit(' + gridJSName + '.uniRow, ' + gridJSName + '.uniCol)}'); end; 2. To complete editing: editingPlugin.completeEdit (); procedure TMainForm.UniButton4Click(Sender: TObject); var gridJSName: string; begin gridJSName := UniDBGrid1.JSName; UniSession.AddJS('if (' + gridJSName + '.editingPlugin) {' + gridJSName + '.editingPlugin.completeEdit()}'); end; Best regards.
-
Hi Erich. You solved the problem? Best regards.
-
Hi Cadilhe. Maybe you're doing something wrong ... Works for me! (may be a difference in the versions? I tested on version 0.94) 1. 2. Or try this: procedure TMainForm.UniTimer1Timer(Sender: TObject); begin UniSession.AddJS('var audio1 = document.createElement(''audio'');' + 'audio1.setAttribute(''src'', ''files/sndBird.wav'');'+ 'audio1.play();'); end; Best regards.