风吹小机机
uniGUI Subscriber-
Posts
157 -
Joined
-
Last visited
-
Days Won
5
Content Type
Profiles
Forums
Events
Everything posted by 风吹小机机
-
p.ClientEvents.ExtEvents.Values['afterlayout'] := ' function afterlayout(sender, layout, eOpts)' + ' {' + ' var PWidth = Ext.get("' + p.jsid + '").getWidth();' + ' var PHegith = Ext.get("' + p.jsid + '").getHeight();' + ' var FWidth = Ext.get("' + self.jsid + '").getWidth();' + ' var FHegith = Ext.get("' + self.jsid + '").getHeight();' + ' var PTop = FHegith / 2 - PHegith/2;' + ' var PLeft = FWidth / 2 - PWidth/2;' + ' Ext.get("' + p.JSId + '").setStyle({"top":PTop + "px","left":PLeft + "px"});' + ' }';
-
-
yes The web dynamic framework is developed by Delphi 10.3.3 + unigui1535 + fr script and has the following advantages: 1. The integrated development environment is completely separated from the desktop development tools and directly develops modules in the web. As long as there is a browser operating platform, you can use < implementation: cross platform development and cross platform operation >. 2. All controls are encapsulated into the platform in the way of encapsulation to ensure the uniform version of controls. 3. Similar to Delphi development mode: drag and drop controls and track debugging to achieve what you see. 4. Module data < interface code data is stored in the database. When it is to be called, it will be loaded from the database for interpretation and operation > 5. Three login methods < framework user, development user and system user > solve the permission application at all levels 6. Menu list, which can be set dynamically, and the adding function is simple and clear. 7. Module management function: each module can be assigned development permission. 8. The diversified permission customization function can locate and control the details of each module to ensure data security 9. The above functions have inherent advantages: immediacy < keep the system in the latest version state all the time, so as to achieve compilation and update free >
-
The paging function can be realized with firedac
-
-
-
Thank you very much for your answer My problem has been solved, The solution is to share with you: UniSession.AddJS(' if(!!Ext.get("' + MenuTree.JSId + '").el.dom.children[0].id){' +' var kid = Ext.get("' + MenuTree.JSId + '").el.dom.children[0].id;' +' Ext.get(kid).setStyle({"background-color":"rgba(200,0,0,1)"});' +' }');
-
This is to change CSS, which is a little inflexible I want to use this way UniSession.AddJS('Ext.get("' + UgTreeMenu01.JSId + '").setStyle({"background-color": "rgba(0,0,0,0)"})'); But I can't get another level of jsid As shown in the figure
-
Such as title I can't get the jsid of the next layer of unitreenu
-
It's troublesome to change this. I have other methods, but it's not the best solution
-
The post is going to sink. Jack it up
-
The above case does not support super server mode, Ws I want to make an interface to call the session to the front-end interaction However, when calling the interface of the super server, it cannot be specified on the corresponding node exe
-
-
yes fastscript
-
Dynamic development, compile free, update free, completely separated from Delphi Move the IDE to the browser and run-time development
-
- 252 replies
-
- 10
-
Sorry, maybe I didn't describe the problem very clearly As shown in the figure, how to remove the menu in the red box Only disable the browser's own menu of tree nodes
-
Tunitreeview is browser right-click disabled However, the internal node does not disable the right button, and two menus (customized menu and browser menu) will appear
-
TUniTreeView
-
In this way, there is no right-click menu in the whole framework, I just want to disable the right button for tree and node
-
Excuse me? Tunitree, how can the node disable the right-click menu of IE
-
OK, the problem has been solved, The reason is that my dbgird is not named, which makes beforeinit invalid Thank you very much
-
Set no effect
-
consult After unidbgrid is set to read only, the contents of the table cannot be copied want to read the table, but you can copy the table content Unidbgrid copies cell contents read-only
-
The problem has been solved. Excuse me