Вверх ↑
Ответов: 214
Рейтинг: 4
#1: 2021-11-19 22:23:18 ЛС | профиль | цитата
не выделяется элемент дерева правой кнопкой мыши, на TreeViewEx как не как возможно сделать а на TreeViewTrain не в какую не выходит.
help

Add(MainForm,16077975,357,252)
{
Width=283
Height=275
Position=1
link(onCreate,5130956:doFor,[])
}
Add(TreeViewTrain,1574694,168,252)
{
Width=128
Height=236
Align=5
Name="main"
IconsManager="icons"
CaptionIndex=1
ParentIDIndex=2
IconIndex=3
Point(onMouseMove)
Point(onMouseDown)
Point(onMouseUp)
Point(onKillFocus)
link(onClick,3695694:doWork2,[])
link(onMouseDown,14964192:doSelectNode,[(212,272)(212,300)(156,300)(156,328)])
link(onMouseUp,9459557:doEvent,[])
}
Add(MT_String,14150441,546,259)
{
Delimeter="|"
link(onResult,3105964:doAddNode,[])
}
Add(TVT_AddNode,3105964,602,259)
{
TreeView="main"
}
Add(For,5130956,420,266)
{
End=9
link(onEvent,14464302:doString,[])
}
Add(FormatStr,14464302,490,266)
{
Mask="%1|элемент|-1|0"
link(onFString,14150441:doMT,[])
link(Str1,5130956:Position,[(496,250)(461,250)(461,310)(426,310)])
}
Add(Message,15597218,301,280)
{
link(Message,5325720:Var3,[(307,268)(223,268)(223,306)])
}
Add(IndexToChanel,9459557,245,273)
{
link(onEvent2,15597218:doMessage,[])
}
Add(TVT_SelectNode,14964192,168,322)
{
TreeView="main"
link(ID,5325720:Var2,[])
}
Add(GetDataEx,5325720,168,301)
{
link(Data,1574694:Select,[])
}
Add(TreeViewEx,70342,245,441)
{
Left=128
Width=139
Height=236
Align=3
Strings=#1:1|1:2|1:3|1:4|1:5|1:6|1:7|1:8|1:9|
IconsState=[]
Icons=[]
Point(onMouseMove)
Point(onMouseDown)
Point(Index)
Point(onMouseUp)
Point(doSelect)
Point(ItemAtPos)
Point(doRename)
link(onClick,3695694:doWork3,[(347,454)])
link(onMouseDown,426030:doData,[(289,468)(289,496)(253,496)(253,524)])
link(onMouseUp,3357491:doEvent,[])
}
Add(Message,882485,378,476)
{
link(Message,12741512:reCalc,[])
}
Add(IndexToChanel,3357491,322,469)
{
link(onEvent2,882485:doMessage,[])
}
Add(HubEx,3695694,343,252)
{
link(onEvent,16077975:doCaption,[])
}
Add(MathParse,12741512,371,420)
{
MathStr="%1+1"
Point(reCalc)
link(X1,70342:Index,[(377,403)(301,403)(301,506)(265,506)])
}
Add(DoData,426030,266,518)
{
link(onEventData,70342:doSelect,[(310,524)(310,510)(234,510)(234,468)])
link(Data,70342:ItemAtPos,[])
}

карма: 1

0