The report on
F_GuestType associated Memo name to: frxTotalF_GuestType
F_Total associated Memo name to: frxTotalF_Total
F_No associated Memo name to: frxTotalF_No
Assumes that the data set has two rows:
F_No F_GuestType F_Total
The member of 100
2 the individual 200
In the report preview interface,
I want to double click on the numerical and 100 members and 100 can be achieved record number 1
The double-click numerical 200 and 200 when the individual and record number 2
If use:
TfrxMemoView (frpTotal FindComponent (' frxTotalF_GuestType ')). The Text
ShowMessage out would be a when the design expression, rather than being preview the value of the "membership"
Code, F_Total Memo normal values, the other two are only expression, not a value:
Procedure TfrmRuleReport. FrpTotalDblClickObject (Sender: TfrxView;
Button: TMouseButton; Shift: TShiftState; Var Modified: Boolean);
The begin
If (Sender Name='frxTotalF_Total) then
The Begin
ShowMessage (TfrxMemoView (the Sender). The Text + # 13 +
TfrxMemoView (frpTotal FindComponent (' frxTotalF_GuestType ')). The Text
+ # 13 +
TfrxMemoView (frpTotal FindComponent (' frxTotalF_No ')). The Text);
The End;
end;
Showmessage results:
{[Window Title]
[Content]
100
[frxTotal. "F_GuestType"]
[frxTotal. "F_No"]
[OK]}
Double-click on the second line Showmessage results:
Showmessage results:
{[Window Title]
[Content]
200
[frxTotal. "F_GuestType"]
[frxTotal. "F_No"]
[OK]}
-- -- -- -- -- -- --
All didn't get the desired results...
Could you tell me how to solve this problem?
Consult everybody warrior, thanked the first...
CodePudding user response:
This? Not achieve them? All wait for the day...