-
Posts
263 -
Joined
-
Last visited
-
Days Won
12
Content Type
Profiles
Forums
Events
Posts posted by patmap
-
-
Main key in new architecture is that you don't need to create or use any of the individual ExtPascal components anymore.
What you will do is using new uniGUI functions to add Ext JS events and config parameters to an uniGUI control.
I will convert your UniXGridView to demonstrate this.
Thanks
Hi, Mr. Farshad
Thank you so much. I'm waiting for your converting.
This is a very good training for me.
Thanks again
Best Regards
-
Hi Mr. Farshad
Thank you so much for your working,
But my main problem is multiple classes in one component. if you see UniXExtClasses.pas and UniXGridView.pas units (BufferedGrid component)
I've made lots of different classes like TExtObjectList, TXExtGridRowSelectionModel, TXExtGridCellSelectionModel., ....
I want to create these classes and save it in variables, and use them,
Please, If is possible convert this two unit (BufferedGrid components) and then i can be lean and convert other components,
Thanks for your help
Best Regards
-
In long term it is a good thing. We can have a component system regardless of Extpascal and Ext JS versions.
It shouldn't be that hard. Look at Custom Component demos to see how new system is working.
Hi Mr. farshad
This is good news, but how we can create a some objects like GridPanel. For this, we must be create multi jsclass like:
Ext.data.Store, Ext.grid.Panel in one custom control.
Can you add a sample for GridPanel with some event like row select ?
http://docs.sencha.com/extjs/4.2.1/#!/api/Ext.grid.Panel
Thanks
-
I think this very hard! ExtPascal removed in UNIGUI new version and I think we cant have XComponent in UniGUI, but I will try,
-
I'm really sorry that many of users do not want to buy this framework and like this program for free use !!!. People should be revised.
Best Regards
-
Hi,
I Agree too
Regards
-
Hi,
Put this code on UniDBGrid->ClieantEvents->onAfterRender
function OnAfterrender(sender) { var a = Ext.query("button[data-qtip=Refresh]"); for(var x=0;x < a.length;x++) { a[x].style.display="none"; } }
Regards
-
Thank you very much for updates!
Wishes: add support for run time changes of Enabled and Visible properies for Popup menu items.
Post #1 updated v5.9.2
- 1
-
Hi,
Put Vcl.Imaging.jpeg in uses list.
Regards
-
Hi,
put midas.dll in the project directory
Hi perjanbr,
When you add MidasLib to uses list no need add midas.dll to project folder. in this case midas library embedded to your exe.
Regards
-
Hi,
Probably one of path not correct.(check ExtJS path).
Check this url path is correct and viewable:
http ://localhost:8077/ext-4.1.1a/ext-all.js http ://localhost:8077/ext-4.1.1a/uni/ext-unigui-min.js
Regards
-
Thanks!
I install this components in XE2,But I run all the demo ,the browser always show hints:loading...
and can not run it!
My UniGUI Verson is 0.93.0.995!
How can i resolve this problem?
Hi,
Set :
ServerModule->ExtJSVersion = '4.1.1a' ;
ServerModule->ExtRoot = 'Your Full ExtJS Path Or [ext]\' ;
Regards
-
-
Thank you patmap , شكرا
it's work , but i have another problem,
I used the "onbeforeunload function" to confirm Exit,
window.onbeforeunload = function{ retrun "Are you sure you want to leave My system? The system will Terminate!"; }
where i can put the code
ajaxRequest(sender, 'SessionClosed', [] );
Thank you
Hi,
Browsers act different in this case and you cant hope to do in all browser
you can add this code Instead of the previous code:
window.onunload = function() { ajaxRequest(sender, 'SessionClosed', [] ); }; window.onbeforeunload = function() { return "Click Leave this page to Session Closed."; };
But this code run on FF and dont run on Google chrome.
There are not %100 safe solution for confirming !
Regards
-
Hi Mr.Farshad
I do not know why three posts were added.
Please delete extra posts.
Thanks
Regards
-
Hi, All
It's work just when MainFormDisplayMode = mfWindow !!!
it's not work with MainFormDisplayMode = mfPage !!!
How can I implement it on MainFormDisplayMode = mfPage ?
Thanx
Maher
Hi,
No problem,
Put this code in :
MainForm->ClientEvents->ExtEvents->1-Ext.form.formPanel->onBeforeRender
See picture
Regards
-
Hi,
You must be download ExtJS 4.2 and copy it in UniGUI folder and rename folder to ext-4.2.0
Then Set ServerModule.ExtJSVersion := '4.2.0';
And Set ServerModule.ExtRoot := 'f:\Programs\LibXE3\uniGUI\ext-4.2.0\'; // You must change this line to your path
then set uniMainModule->'neptune'
I test it and work fine.
Regards
- 1
-
Hi,
Put this code in MainForm->ExtEvents->OnBeforerender :
window.onbeforeunload = function() { ajaxRequest(sender, 'SessionClosed', [] ); alert("Session Closed"); // You can remove this line. only for test };
And put this code on MainForm->OnAjaxEvent :
If SameText( EventName, 'SessionClosed' ) Then Begin UniSession.Terminate( ); UniSession.UniApplication.Terminate( ); End;
Work on FF, Chrome, IE
Regards
- 5
-
Hi,
This RSS Javascript code use ActiveX for XML reading:
xmlDoc = new ActiveXObject("Microsoft.XMLDOM");
and Google Chrome dose not support any Microsoft ActiveX.
you may search another source code.
Regards
-
Post #1 updated v5.9.1
- 1
-
Hi Mr. Farshad
Drag and drop is one of the most useful tools for end users.
This is sample of Grid to Grid Drag and Drop :
Regards
- 2
-
- 1
-
Hi,
I'm using the this version of Delphi ( XE3 Architect Update 2 ) but no need to rewrite.
I think this problem is your Delphi edition.
However, you can add VCLTee in Unit Scope Name.
Regards
-
Hi,
I think you must be remove all form and stay only main form and run it if ok then add next form(s) and run it again Then see which of the forms is raise exception.
or put here sample code.
Regards
Extra UniGUI Components
in Components and Code Samples
Posted
Hi Mr. Farshad
Thank you very much. I will test it.
Thanks again
Regards