https://linen.dev logo
Join Discord
Powered by
# haxe-ui
  • c

    clever-oil-61353

    05/17/2020, 10:17 PM
    lol Billy
  • u

    user

    05/17/2020, 10:24 PM
    @User what are you looking for exactly ?
  • u

    user

    05/17/2020, 10:24 PM
    more than onclick="Screen.instance.messageBox('Info message content\n\nLine1\nLine2\nLine3\n\nSomething else', 'Info', 'info')" ?
  • u

    user

    05/17/2020, 10:25 PM
    the component explorer has DialogBox
  • c

    clever-oil-61353

    05/17/2020, 10:27 PM
    i have seperate xmls for a few ui designs.... trying to figure how to make those show on the screen when a menuitem, for example About, is clicked.
  • c

    clever-oil-61353

    05/17/2020, 10:28 PM
    Not just a quick small dialogbox really.
  • c

    clever-oil-61353

    05/17/2020, 10:52 PM
    @User Yep, i'm an idiot.... you are correct.... the solution to my problem was right there in those DialogBox examples. Thank you very much.
  • u

    user

    05/18/2020, 12:23 AM
    I told you I was doomed with listview ;) For some reason, I'm unable to register to ItemEvent.COMPONENT_EVENT by code....😭
  • u

    user

    05/18/2020, 12:23 AM
    lv1.onComponentEvent = onItemChange; lv1.registerEvent( ItemEvent.COMPONENT_EVENT, onItemChange); none of them works
  • u

    user

    05/18/2020, 12:24 AM
    what the hell did I miss again....?
  • c

    clever-oil-61353

    05/18/2020, 12:34 AM
    i'll take a look and see if i notice something.
  • u

    user

    05/18/2020, 12:46 AM
    no chance with
  • u

    user

    05/18/2020, 12:46 AM
    lv1.onComponentEvent = function(e) { trace(e.data); }
  • u

    user

    05/18/2020, 12:46 AM
    either
  • c

    clever-oil-61353

    05/18/2020, 12:51 AM
    is onItemChange the event?
  • u

    user

    05/18/2020, 12:54 AM
    ItemEvent.COMPONENT_EVENT
  • u

    user

    05/18/2020, 12:54 AM
    strangely, a listView added by code is totally different (UI) that added by XML
  • u

    user

    05/18/2020, 12:55 AM
    by XML
  • u

    user

    05/18/2020, 12:55 AM
    by code
  • u

    user

    05/18/2020, 12:56 AM
    not the same thing at all
  • u

    user

    05/18/2020, 12:56 AM
    While I just translated the XML to code
  • c

    clever-oil-61353

    05/18/2020, 12:57 AM
    hmm
  • u

    user

    05/18/2020, 12:58 AM
    I told you : I'm doomed 😉
  • c

    clever-oil-61353

    05/18/2020, 12:58 AM
    lol
  • c

    clever-oil-61353

    05/18/2020, 1:01 AM
    i assume you have this...... import haxe.ui.events.ItemEvent;
  • u

    user

    05/18/2020, 1:08 AM
    Yes
  • c

    clever-oil-61353

    05/18/2020, 1:18 AM
    instead of onItemChange, what about just.... onChange
  • c

    clever-oil-61353

    05/18/2020, 1:27 AM
    i see where onChange is listed for ItemEvents, but i can find no onItemChange
  • c

    clever-oil-61353

    05/18/2020, 2:39 AM
    The blue Haxe image, with About button below it.... does what I want the Help/About menuitem to do. I just cant seem to figure out to make that menuitem do it.
  • c

    clever-oil-61353

    05/18/2020, 3:08 AM
    just found this..... https://github.com/ianharrigan/haxeui/issues/272
1...215216217...1687Latest