Jump to content

Sherzod

Moderators
  • Posts

    19684
  • Joined

  • Last visited

  • Days Won

    635

Everything posted by Sherzod

  1. Hi, Which build are you using? Can you make a simple testcase for this?
  2. Попробуйте: .customGrid .x-mask { background-image: url(/files/load5.gif); background-repeat:no-repeat; background-position: center; }
  3. Hi, Maybe you wanted something like this:
  4. Спасибо за пример, я проверю
  5. Hi, Sorry, can you explain in more details ?
  6. http://unigui.com/doc/online_help/application-forms.htm http://unigui.com/doc/online_help/free-form.htm
  7. Hi, http://forums.unigui.com/index.php?/topic/10132-2-version-of-unigui-on-one-computer/&do=findComment&comment=52923
  8. Простите, можете прикрепить тестовый пример? Какую сборку используете, браузер, тему ?
  9. Одно из возможных решений, попробуйте: 1. UniDBGrid -> LayoutConfig -> Cls = customGrid 2. UniServerModule -> CustomCSS: .customGrid .x-mask-msg-text { background-image: url(http://loadinggif.com/images/image-selection/1.gif); }
  10. Нужно проанализировать... Вы имеете в виду loader GIF ?!
  11. Отлично, (возможность будет научите нас тоже этой магии :) )
  12. http://forums.unigui.com/index.php?/topic/5277-how-to-remove-borders-and-bottom-bar-of-tunipagecontrol/&do=findComment&comment=53212
  13. Please, first of all adjust your forum email address:
  14. Can you please specify which edition and build of UniGUI are you using ?
  15. Hi, Well, you can analyze the configs associated with the CSS classes for each control and for groups of elements, but many rules are also controlled by the theme used.
  16. Hi, Maybe something like this: function store.nodeappend(sender, node, index, eOpts) { if (node.raw.depth==1) { node.expand(); } }
  17. Hello, Which edition are you using? Links are available for subscribers.
  18. Polygon (also you can use UniCanvas.BitmapCanvas.Polygon) procedure TMainForm.UniButton1Click(Sender: TObject); begin UniCanvas1.Pen.Color:=Random($FFFFFF); UniCanvas1.Brush.Color:=Random($FFFFFF); with UniCanvas1.JSInterface do begin // beginPath JSCode(#1'._cc_.beginPath();'); // lines... JSCode(#1'._cc_.lineTo(10, 10);'); JSCode(#1'._cc_.lineTo(125, 50);'); JSCode(#1'._cc_.lineTo(50, 125);'); JSCode(#1'._cc_.lineTo(10, 90);'); // closePath, fillStyle and fill JSCode('var ctx='#1'._cc_; if (ctx) {ctx.closePath(); ctx.fillStyle='#1'.brushColor; ctx.fill()};'); end; end;
  19. Arc (also you can use UniCanvas.BitmapCanvas.Arc) 1. UniCanvas -> ClientEvents -> ExtEvents -> function afterrender: function afterrender(sender, eOpts) { sender.arc = function(x, y, r, sAngle, eAngle, counterClockWise) { if (this._cc_) { this._cc_.beginPath(); this._cc_.arc(x, y, r, sAngle, eAngle, counterClockWise); this._cc_.fillStyle = this.brushColor; this._cc_.fill(); this._cc_.lineWidth = this.lineWidth; this._cc_.strokeStyle = this.strokeStyle; this._cc_.stroke(); this._cc_.closePath() } } } 2. procedure TMainForm.UniButton1Click(Sender: TObject); var X1, Y1, R: Integer; sAngle, eAngle: Double; counterClockWise: Boolean; begin Randomize; X1:=Random(Width div 2); Y1:=Random(Height div 2); R:=Random(Width div 4); sAngle := 0; eAngle := RandomRange(10, 200 + 1) * 0.01 * System.Pi; counterClockWise := Boolean(Random(2)); UniCanvas1.Pen.Color:=Random($FFFFFF); UniCanvas1.Brush.Color:=Random($FFFFFF); UniCanvas1.JSInterface.JSCall( 'arc', [ X1, Y1, R, sAngle, eAngle, counterClockWise ] ); end;
×
×
  • Create New...