Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Controls vanished, when moving dialogs on it?
Author Message
Sunny Offline
Junior Member
**

Posts: 6
Joined: Jan 2009
Reputation: 0
Post: #1
Question Controls vanished, when moving dialogs on it?
Hello, why vanishes some controls, when I moving a dialog on it or change the active application? An example is this picture below, where are buttons and a listview, which are not complete. With the box it's the same, but if other controls also have this strange bug, I don't know.

   

I'm very happy, if you would fix this disturbing bug quickly!

Greetz,
Sunny

Note: I'm not a champion in english... Confused
(This post was last modified: 01-07-2009 08:14 PM by Sunny.)
01-07-2009 08:10 PM
Find all posts by this user Quote this message in a reply
twig Offline
Administrator
*******

Posts: 123
Joined: Nov 2008
Reputation: 1
Post: #2
RE: Controls vanished, when moving dialogs on it?
how did you get this to happen?

My little side venture: ThatAwesomeShirt!
01-07-2009 11:55 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Mpdreamz Offline
Super Moderator
******

Posts: 59
Joined: Nov 2008
Reputation: 0
Post: #3
RE: Controls vanished, when moving dialogs on it?
Code would really help us reproducing the behavior Sunny Smile
01-08-2009 09:35 PM
Find all posts by this user Quote this message in a reply
Sunny Offline
Junior Member
**

Posts: 6
Joined: Jan 2009
Reputation: 0
Post: #4
RE: Controls vanished, when moving dialogs on it?
I've just move an other dialog on the listview and then, the controls was vanishing.

Code?
Do you mean this:

Code:
alias blad { dialog $iif(!$dialog(bla),-m,-v) bla bla }
dialog bla {
  title "-= Blacklist Addon =-"
  size 10 10 200 190
  option dbu
}
on *:dialog:bla:init:0:{
  dcx Mark $dname lol
  xdialog -c $dname 1 tab 10 10 383 360
  xdid -a $dname 1 0 1 Ban Manager
  xdid -a $dname 1 0 1 Options...
  xdialog -c $dname 2 box 20 40 361 274 rounded center
  xdid -t $dname 2 List of bans
  xdid -C $dname 2 +b $rgb(255,255,255)
  xdid -C $dname 2 +t $rgb(82,117,203)
  xdid -C $dname 2 +r $rgb(214,213,217)
  xdid -c $dname 2 3 listview 10 20 340 210 report grid
  xdid -t $dname 3 +c 0 70 Nick $chr(9) +c 0 140 Address $chr(9) +c 0 70 Date $chr(9) +c 0 150 Reason
  xdid -c $dname 2 4 button 10 240 80 25
  xdid -t $dname 4 Remove
  xdid -c $dname 2 5 button 95 240 80 25
  xdid -t $dname 5 Add
  xdid -c $dname 2 6 button 180 240 80 25
  xdid -t $dname 6 Edit
}
alias lol {  }

Note: I'm not a champion in english... Confused
(This post was last modified: 01-09-2009 02:42 PM by Sunny.)
01-09-2009 02:40 PM
Find all posts by this user Quote this message in a reply
Yochai Offline
Junior Member
**

Posts: 3
Joined: Aug 2009
Reputation: 0
Post: #5
RE: Controls vanished, when moving dialogs on it?
I had a similar problem
Look at the Tooltips, they blur the divider.
Also if you move another dialog over this, or just any other window, the divider and the left treeview will be erased.
Code:
alias test2 {
  dialog -ma test2 test2
}

dialog test2 {
  title "Test2"
  size -1 -1 498 298
}

on *:dialog:test2:init:*: {
  dcx Mark $dname test2-cb
  xdialog -b $dname +mntyz

  ;// Call initilisation alias
  test2-load
  test2-loadList
}

alias -l test2-load {
  xdialog -c $dname 8 tab 0 29 494 240 tabstop notheme fixedwidth buttons flat hot scrollopposite rightjustify vertical

  xdid -a $dname 8 1 0 Search $chr(9) 13 tab 4 22 292 174 0 0 300 200

  xdid -a $dname 8 2 0 Browse $chr(9) 14 tab 0 0 300 200 0 0 300 200



  xdialog -c $dname 10 divider 24 36 466 230 vertical

  xdid -l $dname 10 140 0 $chr(9) 3 treeview 24 36 150 240 hasbuttons haslines linesatroot

  xdid -r $dname 10 200 0 $chr(9) 4 listview 132 36 341 240 report showsel nolabelwrap tooltip tabstop grid fullrow subitemimage
  xdid -s $dname 8,10
}

alias -l test2-loadList {
  var %a = 1
  while ($scon(%a)) {
    var %scid = $v1
    if (%a == 0) return  
    var %network = $gettok($scid(%scid).network,1,46)
    if ($scon(%a).status == connected) && (%network) {
      if (!$xdid(test2,3,$tab $+ %Network $+ $tab,W,1).find) xdid -a test2 3 -1 $tab +b 1 1 0 0 0 0 0 %Network $tab Click on the network for a list of channels.
      var %root = $xdid(test2,3,$tab $+ %Network $+ $tab,W,1).find
      var %b = 1
      while ($ChangetMe(%scid,%b)) {
        var %chan = $v1
        if (!$xdid(test2,3,$tab $+ %chan $+ $tab,W,1,%root).find) xdid -a test2 3 -1 %root $tab + 1 1 0 0 0 0 0  %chan $chr(9) Click on the channel for a list of nicks.
        inc %b
      }
    }
    inc %a
  }
}
alias test2-cb { }
Alias -l ChangetMe {
  var %num = $2
  scid -t1 $1 /return $eval($chan(%num),0)
}
alias -l tab return $chr(9)
08-05-2009 10:05 PM
Find all posts by this user Quote this message in a reply
twig Offline
Administrator
*******

Posts: 123
Joined: Nov 2008
Reputation: 1
Post: #6
RE: Controls vanished, when moving dialogs on it?
hmm, which revision of the dll are you guys using?
or when did you start noticing it happen?

My little side venture: ThatAwesomeShirt!
08-05-2009 11:46 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Yochai Offline
Junior Member
**

Posts: 3
Joined: Aug 2009
Reputation: 0
Post: #7
RE: Controls vanished, when moving dialogs on it?
I'm using the 1.4 version, the latest from the download section.
Just started using DCX yesterday, so it's just my bad luck to find 1 of the few bugs Smile

I think it has something to do with the overlapping controls, looks like it's trying to draw the tab that's underneath, which is just gray.
If i remove the tab it works fine.
08-06-2009 10:33 AM
Find all posts by this user Quote this message in a reply
Ook Offline
Administrator
*******

Posts: 14
Joined: Jul 2009
Reputation: 0
Post: #8
RE: Controls vanished, when moving dialogs on it?
LOL after all that farting about yesterday I just realized what you are doing wrong.
Your overlapping the controls!
replace:
xdid -a $dname 8 2 0 Browse $chr(9) 14 tab 0 0 300 200 0 0 300 200
xdialog -c $dname 10 divider 24 36 466 230 vertical
with:
xdid -a $dname 8 2 0 Browse $chr(9) 10 divider 0 0 300 200 vertical

You have to create the child controls within the parent ffs!
08-06-2009 05:07 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump: