Вверх ↑
Главный модератор
Ответов: 2999
Рейтинг: 396
#1: 2008-10-06 10:34:45 ЛС | профиль | цитата
Пускай себе выбирается на здоровье, но зачем скажи мне пожалуйста, генерить событие onClick, если его небыло? Это похоже на тест на сообразительность - найди откуда чёртики выскакивают. Схема ведёт себя не предсказуемо и ещё зависит от режимов работы. Хорошо отфильтрую первое срабатывание, а вот мне нужно сделать изменение дерева и что - городить огород для не первого срабатывания?
------------ Дoбавленo:

nesco, подскажи как активировать третье состояние checkbox'a?
------------ Дoбавленo:

* давим на Push
* кликаем на любой узел
* запоминаем значение Count в Debug события onClick
* давим на Push опять
* сравниваем значение Count в Debug (ДО и ПОСЛЕ)
* задаём себе вопрос: откуда взялись эти события и в таком количестве?

Ответ знает только автор.


Add(StrList,1366068,476,126)
{
}
Add(DoData,7049198,476,189)
{
link(onEventData,13610777:doLoadFromText,[(555,195)(555,258)])
link(Data,1366068:Text,[])
}
Add(ArrayEnum,3574674,231,126)
{
link(onItem,11115224:doEvent1,[])
link(onEndEnum,7049198:doData,[(269,139)(269,195)])
link(Array,3899664:Array,[])
}
Add(StrList,4267819,308,56)
{
Strings=#12:<1,1>Person1|12:<1,1>Person2|12:<1,1>Person3|12:<1,1>Person4|
}
Add(ArrayEnum,13397543,322,140)
{
link(onItem,6147778:doWork3,[(368,146)])
link(Array,4267819:Array,[])
}
Add(Hub,11115224,273,126)
{
OutCount=4
link(onEvent1,6147778:doWork2,[])
link(onEvent2,14509882:doData,[])
link(onEvent3,13397543:doEnum,[])
link(onEvent4,16630148:doData,[(313,153)(313,174)])
}
Add(Hub,11121147,168,112)
{
OutCount=3
link(onEvent1,1366068:doClear,[(463,118)(463,139)])
link(onEvent2,13610777:doClear,[(559,125)(559,230)])
link(onEvent3,3574674:doEnum,[])
}
Add(StrList,3899664,217,56)
{
Strings=#11:<0,0>Group1|11:<0,0>Group2|11:<0,0>Group3|11:<0,0>Group4|
}
Add(HubEx,6147778,364,119)
{
link(onEvent,2138054:doWork2,[])
}
Add(DoData,14509882,385,133)
{
Data=String(()
link(onEventData,2138054:doWork3,[(431,139)])
}
Add(HubEx,2138054,427,119)
{
link(onEvent,13540687:doWork2,[])
}
Add(DoData,16630148,385,168)
{
Data=String())
link(onEventData,13540687:doWork3,[(445,174)])
}
Add(HubEx,13540687,441,119)
{
link(onEvent,1366068:doAdd,[])
}
Add(TreeViewEx,13610777,567,217)
{
Top=56
Width=523
Height=380
IconByIndex=0
Tooltips=0
TrackSelect=0
CheckBoxes=0
Delimiter=";"
AlwaysUseIcons=0
IconsState=[]
Icons=['Icon'=[0000010001001010000001000800680500001600000028000000100000002000000001000800000000004001000000000000000000000001000000000000B6B6B60092929200F89E2100F2902100F98F2900F58F2500F49A1E00EC911B00E58B1700E1871400DD841200DA800F00D67D0F00CF750900CA710700C86D0500C36A0300B9640000965100002DC6FC0029BDF90025B4F50023A8FC0021ACF20021A5F80020A3F6001EA2F3001DA3ED001A9DEB001799E5001496E1001193DC000F91DA000D8DD400098ACF000687C9000382C30079D2570075D1520073D04F0070CF4C006ECF49006ACD440064CB3C005CC3350058BA320056B7310052AE2F004DA42C004A9C2A0045912700007AB900006296007A7A7A006E6E6E004A4A4A00387620000E0E0E000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FFFFFF00FEFEFEFEFEFEFEFEFEFEFEFEFEFEFEFEFEFEFEFEFEFEFE243423FEFEFEFEFEFEFEFEFEFEFEFEFE233421FEFEFEFEFEFEFEFEFE10120EFE22331FFE313830FEFEFEFEFE0F12FEFE211F1EFEFE382FFEFEFEFEFE0D11FE201F1D1C1CFE322EFEFEFEFEFE0C0AFE1E1D1C1A19FE2D2CFEFEFEFE0B0A08FE1C1C1A1616FE2C2B2BFEFEFE090807FE1B17151413FE2B2A29FEFEFE07070602FEFEFEFEFE2B2A2927FEFEFE07050504FE353637FE2A282625FEFEFEFEFEFEFEFE000136FEFEFEFEFEFEFEFEFE353637FE000035FE353637FEFEFEFEFE000136FEFEFEFEFE000136FEFEFEFEFE000035FEFEFEFEFE000035FEFEFEFEFEFEFEFEFEFEFEFEFE393939FEFEFC1FFFFFFC1FFFFFC001FFFFC001FFFFC001FFFFC001FFFF8000FFFF8000FFFF8000FFFF8000FFFF8000FFFFC001FFFFC001FFFFC001FFFFC1C1FFFFE3E3FFFF],'Icon'=[0000010001001010000001000800680500001600000028000000100000002000000001000800000000004001000000000000000000000001000000000000FFFFFF00D4E3FF00C0C0C000B1C7FF008EABFF0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FFFFFF00FE050505050505050505050505050505FE050005000500050005000500050205FE050005000500050005000500050205FE050005000500050205000500050205FE050005000500050505020500050205FEFE05050005050103040505020505FEFEFEFE0505050103030304050505FEFEFEFEFEFEFE05010305040405FEFEFEFEFEFEFEFE050501030304040505FEFEFEFEFEFE0503050103030404050405FEFEFEFEFE0505050103030304050505FEFEFEFEFEFEFE05030504050405FEFEFEFEFEFEFEFE0505050505050505FEFEFEFEFEFEFEFEFE05050505050505FEFEFEFEFEFEFEFEFE05050505050505FEFEFEFEFEFEFEFEFEFE0505050505FEFEFEFEFE8000FFFF8000FFFF8000FFFF8000FFFF8000FFFFC001FFFFE003FFFFF80FFFFFF007FFFFE003FFFFE003FFFFF80FFFFFF00FFFFFF80FFFFFF80FFFFFFC1FFFFF]]
Point(Index)
Point(CheckArray)
Point(onDblClick)
Point(doLoadFromText)
Point(ItemChild)
Point(Parent)
Point(ItemParent)
Point(Child)
Point(doItemPath)
Point(onItemPath)
Point(doExpand)
Point(onMouseUp)
Point(ItemAtPos)
link(onClick,15143292:doEvent,[])
}
Add(Button,4472307,126,112)
{
Left=15
Top=15
link(onClick,11121147:doEvent1,[])
}
Add(DoData,13580025,728,224)
{
}
Add(Debug,15143292,679,224)
{
WEName="onClick"
VDName=""
link(onEvent,13580025:doData,[])
}


------------ Дoбавленo:

Почему индексы иконок изменения состояния checkbox'ов начинаются с 1?
карма: 6
Дорогу осилит идущий. Install/Update HiAsm.NET
1
Голосовали:andrestudio