Jump to content

artem_niko

uniGUI Subscriber
  • Posts

    405
  • Joined

  • Last visited

  • Days Won

    1

artem_niko last won the day on February 24 2020

artem_niko had the most liked content!

Profile Information

  • Location
    Russia

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

artem_niko's Achievements

Advanced Member

Advanced Member (4/4)

23

Reputation

  1. Good afternoon! I am creating a form dynamically. On the created form I create and show my UniFrame. Naturally, I prescribe Parent for my frame like this: MyFrame1:=TUniFrameClass(FindClass('TMyFrame1')).Create(MyDynamicForm); MyFrame1.Align:=alClient; MyFrame1.Parent:=MyDynamicForm; How close MyDynamicForm when and after destroy of MyFrame1? 1. Destroy MyFrame1 (already working) 2. Close/destroy MyDynamicForm.
  2. Good afternoon! I am creating a form dynamically. On the created form I create and show my UniFrame. Naturally, I prescribe Parent for my frame like this: MyFrame1:=TUniFrameClass(FindClass('TMyFrame1')).Create(MyDynamicForm); MyFrame1.Align:=alClient; MyFrame1.Parent:=MyDynamicForm; How close MyDynamicForm when and after destroy of MyFrame1? 1. Destroy MyFrame1 (already working) 2. Close/destroy MyDynamicForm.
  3. Good afternoon! For some reason, when icons are found in a UniDBGrid column, the background of the icon is black instead of transparent. I am using icon format: What modules should be added so that the icons do not have a black background? My uses: uses Windows, Messages, SysUtils, Variants, Classes, Graphics, FireDAC.Phys.FBDef, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Error, FireDAC.UI.Intf, FireDAC.Phys.Intf, FireDAC.Stan.Def, FireDAC.Stan.Pool, FireDAC.Stan.Async, FireDAC.Phys, FireDAC.Phys.FB, FireDAC.VCLUI.Wait, FireDAC.Stan.Param, FireDAC.DatS, FireDAC.DApt.Intf, FireDAC.DApt, uniButton, uniBitBtn, UniFSButton, uniPanel, uniGUIClasses, uniBasicGrid, uniDBGrid, System.Actions, Vcl.ActnList, uniMainMenu, uniSplitter, FireDAC.Comp.Client, Data.DB, uniGUIBaseClasses, uniImageList, FireDAC.Comp.DataSet, FireDAC.Phys.IBBase, uniPageControl, Vcl.Controls, Vcl.Forms, jpeg, pngimage, System.Math, uniGUITypes, uniGUIAbstractClasses, System.IniFiles, Soap.EncdDecd, uniGUIFrame, System.TypInfo, uniLabel, uniCheckBox, uniDBNavigator, uniEdit, uniGUIForm, uniTimer, UniFSiGrowl, uniImage, uniWidgets, uniDBEdit, IdTCPConnection, IdTCPClient, IdExplicitTLSClientServerBase, IdMessageClient, IdSMTPBase, IdSMTP, IdMessage, IdBaseComponent, IdComponent, IdIOHandler, IdIOHandlerSocket, IdIOHandlerStack, IdSSL, IdSSLOpenSSL, IdHashMessageDigest, uniMenuButton, UniFSMenuButton, uniHTMLFrame, UniFSGoogleChart, uniRadioButton, uniStringGrid, uniChart, uniMultiItem, uniListBox, uniDateTimePicker, System.DateUtils, UniFSToggle, uniSpinEdit, uniComboBox;
  4. Hello! How change size of diagramm in UniChart? At now, labels out of diagramm... I need show all labels: Or anouther question: how show labels inside pie? This is not working:
  5. Excellent! Perferct! Thank's, @Sherzod!
  6. This title row creating with this UniMenuButton)
  7. How change color for this white row? function tabPanel.afterrender(sender, eOpts) { var tabItems=[]; this.tabBar.getRefItems().forEach(function(item,i){ tabItems.push({ icon: item.icon, index: i, text: item.title, handler: function(item){ sender.setActiveItem(item.index) } }) }); this.addTool({ text: 'Меню', xtype: 'splitbutton', menu: new Ext.menu.Menu({items: tabItems}) }); } i was tryed write this.addTool({ text: 'Меню', xtype: 'splitbutton', color: red, menu: new Ext.menu.Menu({items: tabItems}) But this is not working...
  8. Somtimes... Or so: UniPanel1.JSInterface.JSCode('var tm=new Ext.util.TextMetrics();'#1'.header.insert('+ (UniPanel1.ToolButtons.Count + 1).ToString + ', ' + '{xtype:"tbspacer", width:'#1'.header.title.getWidth()-(tm.getWidth('#1'.getTitle())+100)});'); UniPanel1.JSInterface.JSCall('header.insert', [0, UniContainerPanelTitle3.JSControl]); More often the second option, because. there you can embed panels with buttons at once, rather than add them one by one through the title property
  9. Yes, with one buttons, at now moment
  10. Excellent! Everything I need. One last question: can this UniMenuButton only be embedded in a UniPageControl, or can it be embedded in the header of a UniPanel, for example? Simply, in the case of the UniPageControl, a white bar appears that takes up space. If you embed a UniMenuButton in the header of a UniPanel, then you can additionally place buttons there, for example, later.
  11. How write this code in some event OnCreate, for example, of form? Using UniNativeImageList...
  12. Ok. And how about UniNativeImageList? I'm using different icons for tab sheet's...
×
×
  • Create New...